mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-24 19:15:40 +00:00
Fixed compiler warning on Visual Studio
This commit is contained in:
parent
fc78e98221
commit
c78476dadc
|
@ -668,7 +668,7 @@ SDL_GameControllerAddMappingsFromRW( SDL_RWops * rw, int freerw )
|
|||
if (rw == NULL) {
|
||||
return SDL_SetError("Invalid RWops");
|
||||
}
|
||||
db_size = SDL_RWsize(rw);
|
||||
db_size = (size_t)SDL_RWsize(rw);
|
||||
|
||||
buf = (char *)SDL_malloc(db_size + 1);
|
||||
if (buf == NULL) {
|
||||
|
|
Loading…
Reference in a new issue