Fixed compile warning with latest mingw32 compiler
This commit is contained in:
parent
5f38782163
commit
7ea6ef0d5a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue