mute an MSVC warning about truncating from an int
This commit is contained in:
parent
02103a9181
commit
78bdf5f779
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ namespace test_utils {
|
|||
{
|
||||
SDL_Event event;
|
||||
event.type = SDL_MOUSEMOTION;
|
||||
event.motion.x = x;
|
||||
event.motion.x = static_cast<Uint16>(x);
|
||||
event.motion.y = y;
|
||||
event_node_ptr new_move(new event_node_mouse_motion(time, event));
|
||||
add_event(new_move);
|
||||
|
|
Loading…
Add table
Reference in a new issue