mute an MSVC warning about truncating from an int

This commit is contained in:
Anonymissimus 2011-11-27 15:18:32 +00:00
parent 78bdf5f779
commit af166a790c

View file

@ -147,7 +147,7 @@ namespace test_utils {
SDL_Event event;
event.type = SDL_MOUSEMOTION;
event.motion.x = static_cast<Uint16>(x);
event.motion.y = y;
event.motion.y = static_cast<Uint16>(y);
event_node_ptr new_move(new event_node_mouse_motion(time, event));
add_event(new_move);
return new_move;