cast useless arg to void --> no warning about it
This commit is contained in:
parent
e5dbc33b29
commit
011834c95f
2 changed files with 5 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue