mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-04 00:46:25 +00:00
Cleaned up various type conversion issues
This makes sure SDL_PixelFormatEnum flows through the internal code correctly, as well as fixing a number of other minor issues.
This commit is contained in:
@@ -150,7 +150,7 @@ SDL_PropertiesID SDL_CreateProperties(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
properties = SDL_calloc(1, sizeof(*properties));
|
||||
properties = (SDL_Properties *)SDL_calloc(1, sizeof(*properties));
|
||||
if (!properties) {
|
||||
goto error;
|
||||
}
|
||||
|
Reference in New Issue
Block a user