summaryrefslogtreecommitdiff
path: root/apps/unix/x11pdf.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2008-03-20 20:03:34 +0100
committerTor Andersson <tor@ghostscript.com>2008-03-20 20:03:34 +0100
commit0a98c1e2c75bcb95c23bada1cf2c7f393f546b6c (patch)
treeab511e8c41e6decf213d2d988449c2728a374444 /apps/unix/x11pdf.c
parent818644f38c5f75c618af32ed35fa49e0045226ce (diff)
downloadmupdf-0a98c1e2c75bcb95c23bada1cf2c7f393f546b6c.tar.xz
Fixed printf formatting warnings.
Diffstat (limited to 'apps/unix/x11pdf.c')
-rw-r--r--apps/unix/x11pdf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/unix/x11pdf.c b/apps/unix/x11pdf.c
index 91810a33..2c307265 100644
--- a/apps/unix/x11pdf.c
+++ b/apps/unix/x11pdf.c
@@ -317,7 +317,7 @@ void windocopy(pdfapp_t *app)
*utf8 = 0;
*latin1 = 0;
-printf("oncopy utf8=%d latin1=%d\n", strlen(copyutf8), strlen(copylatin1));
+printf("oncopy utf8=%zd latin1=%zd\n", strlen(copyutf8), strlen(copylatin1));
XSetSelectionOwner(xdpy, XA_PRIMARY, xwin, copytime);
@@ -357,7 +357,7 @@ printf(" -> targets\n");
else if (target == XA_STRING)
{
-printf(" -> string %d\n", strlen(copylatin1));
+printf(" -> string %zd\n", strlen(copylatin1));
XChangeProperty(xdpy, requestor, property, target,
8, PropModeReplace,
(unsigned char *)copylatin1, strlen(copylatin1));