Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed compile warning with latest mingw32 compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jul 5, 2010
1 parent 888e4da commit 196ab37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/thread/win32/SDL_syssem.c
Expand Up @@ -39,7 +39,7 @@ struct SDL_semaphore
#else
HANDLE id;
#endif
Uint32 volatile count;
LONG volatile count;
};


Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 196ab37

Please sign in to comment.