mute an MSVC warning about truncating from an int
This commit is contained in:
parent
cd2b166ab4
commit
9c1a79008d
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue