From 33caeb559ee80de7c720ac832b5071925afbaaae Mon Sep 17 00:00:00 2001 From: Rafael Ignacio Zurita Date: Thu, 9 Jan 2014 11:49:00 -0300 Subject: [PATCH] Fix gcc warnings in screen.c --- openbox/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/screen.c b/openbox/screen.c index ecffa487..0198c36c 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -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; -- 2.39.2