mute an MSVC warning about truncating from an int

This commit is contained in:
Anonymissimus 2011-11-27 15:18:20 +00:00
parent cd2b166ab4
commit 9c1a79008d

View file

@ -87,7 +87,7 @@ namespace test_utils {
int x, y; int x, y;
SDL_GetMouseState(&x, &y); SDL_GetMouseState(&x, &y);
event_.button.x = static_cast<Uint16>(x); event_.button.x = static_cast<Uint16>(x);
event_.button.y = y; event_.button.y = static_cast<Uint16>(y);
event_node::fire_event(); event_node::fire_event();
} }