Fix gcc warnings in screen.c
[mikachu/openbox.git] / openbox / screen.c
index ecffa48..0198c36 100644 (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;