diff options
author | runge <runge@karlrunge.com> | 2009-12-05 14:31:31 -0500 |
---|---|---|
committer | runge <runge@karlrunge.com> | 2009-12-05 14:31:31 -0500 |
commit | 6153bd69835da0e7217ae844bdba4e2ba676f981 (patch) | |
tree | 270d264e229678c29fde567f2334eace65bda185 /x11vnc/appshare.c | |
parent | 00a9a0ea4d0f642b34b4423ea867099b52edf078 (diff) | |
download | libtdevnc-6153bd69835da0e7217ae844bdba4e2ba676f981.tar.gz libtdevnc-6153bd69835da0e7217ae844bdba4e2ba676f981.zip |
Update java and scripts in classes/ssl. x11vnc: declare crypt() on all platforms. more wishes.
Diffstat (limited to 'x11vnc/appshare.c')
-rw-r--r-- | x11vnc/appshare.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |