mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
Fixed warning C4244: '=': conversion from 'double' to 'float', possible loss of data
This commit is contained in:
@@ -450,8 +450,8 @@ int SDLTest_CommonArg(SDLTest_CommonState *state, int index)
|
||||
} else {
|
||||
max_aspect = min_aspect;
|
||||
}
|
||||
state->window_min_aspect = SDL_atof(min_aspect);
|
||||
state->window_max_aspect = SDL_atof(max_aspect);
|
||||
state->window_min_aspect = (float)SDL_atof(min_aspect);
|
||||
state->window_max_aspect = (float)SDL_atof(max_aspect);
|
||||
return 2;
|
||||
}
|
||||
if (SDL_strcasecmp(argv[index], "--logical") == 0) {
|
||||
|
Reference in New Issue
Block a user