projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c7a458b
)
Fix gcc warnings in screen.c
author
Rafael Ignacio Zurita
<rafaelignacio.zurita@gmail.com>
Thu, 9 Jan 2014 14:49:00 +0000
(11:49 -0300)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 9 Jan 2014 19:56:34 +0000
(14:56 -0500)
openbox/screen.c
patch
|
blob
|
history
diff --git
a/openbox/screen.c
b/openbox/screen.c
index
ecffa48
..
0198c36
100644
(file)
--- 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 i;
guint mostpx_index = screen_num_monitors;
- g
uint
mostpx = 0;
+ g
long
mostpx = 0;
guint closest_distance_index = screen_num_monitors;
guint closest_distance = G_MAXUINT;
GSList *counted = NULL;
guint closest_distance_index = screen_num_monitors;
guint closest_distance = G_MAXUINT;
GSList *counted = NULL;