Fix gcc warnings in screen.c

This commit is contained in:
Rafael Ignacio Zurita 2014-01-09 11:49:00 -03:00 committed by Dana Jansens
parent c7a458b5ad
commit 33caeb559e

View file

@ -1681,7 +1681,7 @@ guint screen_find_monitor(const Rect *search)
{
guint i;
guint mostpx_index = screen_num_monitors;
guint mostpx = 0;
glong mostpx = 0;
guint closest_distance_index = screen_num_monitors;
guint closest_distance = G_MAXUINT;
GSList *counted = NULL;