Probably fixes a gcc warning AI0867 ran into.

This commit is contained in:
Mark de Wever 2011-11-26 14:47:36 +00:00
parent 539b1df6ce
commit 62898bc27d

View file

@ -332,7 +332,7 @@ void thandler::handle_event(const SDL_Event& event)
break;
case TIMER_EVENT:
execute_timer(reinterpret_cast<unsigned long>(event.user.data1));
execute_timer(reinterpret_cast<long>(event.user.data1));
break;
case CLOSE_WINDOW_EVENT: