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