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

@ -11,8 +11,11 @@ http://www.newbreedsoftware.com/tuxpaint/
* simplify strip_trailing_whitespace, now O(n)
Albert Cahalan <albert@users.sf.net>
* drawtext_callback prototype forces useless arg. void it
Albert Cahalan <albert@users.sf.net>
2004.November.22 (0.9.15)
* Enable more compuler warnings, and update code to prevent them.
* Enable more compiler warnings, and update code to prevent them.
Albert Cahalan <albert@users.sf.net>
* Updated Hebrew translation.

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 */