Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed compile warning with latest mingw32 compiler

  • Loading branch information
slouken committed Jul 5, 2010
1 parent 888e4da commit 196ab379a7d5bb0d0d570c37f9f46c3f44015f01
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/thread/win32/SDL_syssem.c
@@ -39,7 +39,7 @@ struct SDL_semaphore
#else
HANDLE id;
#endif
Uint32 volatile count;
LONG volatile count;
};


@@ -143,7 +143,7 @@ SDL_SemValue(SDL_sem * sem)
SDL_SetError("Passed a NULL sem");
return 0;
}
return sem->count;
return (Uint32)sem->count;
}

int

0 comments on commit 196ab37

Please sign in to comment.