Skip to content
Permalink
Browse files

Fixed compile warning on Visual Studio

  • Loading branch information
slouken committed Dec 3, 2016
1 parent 4eda58b commit 16074e674925b8ceb984d33b0df8c83f0a05c982

File 1 of 1 in 16074e6

@@ -45,15 +45,15 @@ SDL_MouseNormalSpeedScaleChanged(void *userdata, const char *name, const char *o
{
SDL_Mouse *mouse = (SDL_Mouse *)userdata;

mouse->normal_speed_scale = SDL_atof(hint);
mouse->normal_speed_scale = (float)SDL_atof(hint);
}

static void
SDL_MouseRelativeSpeedScaleChanged(void *userdata, const char *name, const char *oldValue, const char *hint)
{
SDL_Mouse *mouse = (SDL_Mouse *)userdata;

mouse->relative_speed_scale = SDL_atof(hint);
mouse->relative_speed_scale = (float)SDL_atof(hint);
}

/* Public functions */

0 comments on commit 16074e6

Please sign in to comment.