Commit f3ad481e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

vout_SDL: fix a warning

parent 729cf577
......@@ -650,8 +650,8 @@ static void Manage(vout_display_t *vd)
const int y = (int64_t)(event.motion.y - sys->place.y) * vd->source.i_height / sys->place.height;
SDL_ShowCursor(1);
if (x >= 0 && x < vd->source.i_width &&
y >= 0 && y < vd->source.i_height)
if (x >= 0 && (unsigned)x < vd->source.i_width &&
y >= 0 && (unsigned)y < vd->source.i_height)
vout_display_SendEventMouseMoved(vd, x, y);
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment