X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=driver%2Fremote.c;h=3c6e4d1e4a04c3114915c6be28cfa2e07508ab32;hb=6cee540bdbb571485cd5e519f89f389faebd0495;hp=2ecd7cbb70671fbfc8c095c7f1b3ab0ba91739eb;hpb=cccbddbc4140cf9a06d7d95cc5c0ca36eb5d6e28;p=xscreensaver diff --git a/driver/remote.c b/driver/remote.c index 2ecd7cbb..3c6e4d1e 100644 --- a/driver/remote.c +++ b/driver/remote.c @@ -278,13 +278,13 @@ send_xscreensaver_command (Display *dpy, Atom command, long arg, } if (any && nhacks == 1) - fprintf (stdout, " (hack #%d)\n", data[2]); + fprintf (stdout, " (hack #%d)\n", (int) data[2]); else if (any) { fprintf (stdout, " (hacks: "); for (i = 0; i < nhacks; i++) { - fprintf (stdout, "#%d", data[2 + i]); + fprintf (stdout, "#%d", (int) data[2 + i]); if (i != nhacks-1) fputs (", ", stdout); }