summaryrefslogtreecommitdiffstats
path: root/x11vnc/win_utils.c
diff options
context:
space:
mode:
authorrunge <runge>2006-12-28 15:51:44 +0000
committerrunge <runge>2006-12-28 15:51:44 +0000
commit99a557d673ac4444532ac7025cb479a229ea7fb3 (patch)
tree3e403f6e52782a3e458cada3501ae8b1839c8364 /x11vnc/win_utils.c
parent56eb45a5f8ab93abb1e15d4c0b8214d06a3d6d18 (diff)
downloadlibvncserver-99a557d673ac4444532ac7025cb479a229ea7fb3.zip
libvncserver-99a557d673ac4444532ac7025cb479a229ea7fb3.tar.gz
x11vnc: clean up compiler warnings.
Diffstat (limited to 'x11vnc/win_utils.c')
-rw-r--r--x11vnc/win_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/win_utils.c b/x11vnc/win_utils.c
index 27d3f5d..52e012e 100644
--- a/x11vnc/win_utils.c
+++ b/x11vnc/win_utils.c
@@ -290,7 +290,7 @@ void update_stack_list(void) {
X_LOCK;
for (k=0; k < stack_list_num; k++) {
Window win = stack_list[k].win;
- if (win != None && boff <= win && win < boff + bwin) {
+ if (win != None && boff <= (int) win && (int) win < boff + bwin) {
; /* special, blackout */
} else if (!valid_window(win, &attr, 1)) {
stack_list[k].valid = 0;
OpenPOWER on IntegriCloud