cast useless arg to void --> no warning about it

This commit is contained in:
Albert Cahalan 2004-11-23 18:41:34 +00:00
parent e5dbc33b29
commit 011834c95f
2 changed files with 5 additions and 1 deletions

View file

@ -12355,6 +12355,7 @@ static void control_drawtext_timer(Uint32 interval, const char * const text)
static Uint32 drawtext_callback(Uint32 interval, void *param)
{
(void)interval;
SDL_PushEvent((SDL_Event*)param);
return 0; /* Remove timer */