mirror of https://github.com/libsdl-org/SDL.git
Fixed warning C4244: '=': conversion from 'double' to 'float', possible loss of data
This commit is contained in:
parent
690d73f5c9
commit
4954690828
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue