mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-12 05:41:10 +01:00
Fixed compile warning on Visual Studio
This commit is contained in:
parent
4eda58ba6a
commit
16074e6749
@ -45,7 +45,7 @@ SDL_MouseNormalSpeedScaleChanged(void *userdata, const char *name, const char *o
|
|||||||
{
|
{
|
||||||
SDL_Mouse *mouse = (SDL_Mouse *)userdata;
|
SDL_Mouse *mouse = (SDL_Mouse *)userdata;
|
||||||
|
|
||||||
mouse->normal_speed_scale = SDL_atof(hint);
|
mouse->normal_speed_scale = (float)SDL_atof(hint);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -53,7 +53,7 @@ SDL_MouseRelativeSpeedScaleChanged(void *userdata, const char *name, const char
|
|||||||
{
|
{
|
||||||
SDL_Mouse *mouse = (SDL_Mouse *)userdata;
|
SDL_Mouse *mouse = (SDL_Mouse *)userdata;
|
||||||
|
|
||||||
mouse->relative_speed_scale = SDL_atof(hint);
|
mouse->relative_speed_scale = (float)SDL_atof(hint);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Public functions */
|
/* Public functions */
|
||||||
|
Loading…
Reference in New Issue
Block a user