summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-06 22:35:31 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-06 22:36:33 -0700
commitb7d620037e130de1b0b309119c045d4f6a6ba8c5 (patch)
tree1d9b799c88c4de9cde0dd7675f17f14cc0aad3a0
parent787f9d6d8f6dd6663af27e3cd21facaee6bed4f5 (diff)
Fix printf type warnings in LP64 builds
x2jet.c:300:6: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘CARD32’ x2jet.c:300:6: warning: format ‘%ld’ expects type ‘long int’, but argument 5 has type ‘CARD32’ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--x2jet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x2jet.c b/x2jet.c
index 93af379..3246c33 100644
--- a/x2jet.c
+++ b/x2jet.c
@@ -294,7 +294,7 @@ void set_image_limits (
if ((limit.width != xwd_header.pixmap_width)
|| (limit.height != xwd_header.pixmap_height))
- fprintf(stderr,(catgets(nlmsg_fd,NL_SETN,1, "%s: Warning: %ld x %ld image clipped to %ld x %ld.\n")),
+ fprintf(stderr,(catgets(nlmsg_fd,NL_SETN,1, "%s: Warning: %d x %d image clipped to %ld x %ld.\n")),
progname,
xwd_header.pixmap_width, xwd_header.pixmap_height,
limit.width, limit.height);