mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-29 09:18:43 +00:00
Fixed warning: implicit conversion loses integer precision: 'SDL_WindowFlags' (aka 'unsigned long') to 'Uint32' (aka 'unsigned int')
This commit is contained in:
parent
2205626816
commit
323bab9305
1 changed files with 2 additions and 2 deletions
|
|
@ -2042,10 +2042,10 @@ static struct {
|
|||
{ SDL_PROP_WINDOW_CREATE_VULKAN_BOOLEAN, SDL_WINDOW_VULKAN, SDL_FALSE }
|
||||
};
|
||||
|
||||
static Uint32 SDL_GetWindowFlagProperties(SDL_PropertiesID props)
|
||||
static SDL_WindowFlags SDL_GetWindowFlagProperties(SDL_PropertiesID props)
|
||||
{
|
||||
unsigned i;
|
||||
SDL_WindowFlags flags = (Uint32)SDL_GetNumberProperty(props, "flags", 0);
|
||||
SDL_WindowFlags flags = (SDL_WindowFlags)SDL_GetNumberProperty(props, "flags", 0);
|
||||
|
||||
for (i = 0; i < SDL_arraysize(SDL_WindowFlagProperties); ++i) {
|
||||
if (SDL_WindowFlagProperties[i].invert_value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue