From 6153bd69835da0e7217ae844bdba4e2ba676f981 Mon Sep 17 00:00:00 2001 From: runge Date: Sat, 5 Dec 2009 14:31:31 -0500 Subject: Update java and scripts in classes/ssl. x11vnc: declare crypt() on all platforms. more wishes. --- x11vnc/appshare.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'x11vnc/appshare.c') diff --git a/x11vnc/appshare.c b/x11vnc/appshare.c index 72c2bdd..81d9949 100644 --- a/x11vnc/appshare.c +++ b/x11vnc/appshare.c @@ -473,7 +473,7 @@ static void launch(Window win) { char *q = strstr(cmd, "-connect_or_exit"); if (q) q = strstr(q, "_or_exit"); if (q) { - int i; + unsigned int i; for (i=0; i < strlen("_or_exit"); i++) { *q = ' '; q++; @@ -907,7 +907,7 @@ static void recurse_search(int level, int level_max, Window top, Window app, int ok = XQueryTree(dpy, top, &r, &parent, &list, &nchild); if (ok) { int i; - for (i=0; i < nchild; i++) { + for (i=0; i < (int) nchild; i++) { w = list[i]; if (w == None || find_win(w) >= 0) { continue; @@ -919,7 +919,7 @@ static void recurse_search(int level, int level_max, Window top, Window app, int (*nw)++; } } - for (i=0; i < nchild; i++) { + for (i=0; i < (int) nchild; i++) { w = list[i]; if (w == None || ours(w)) { continue; -- cgit v1.2.3