diff options
author | Robin Watts <robin.watts@artifex.com> | 2018-11-22 18:18:03 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2018-11-22 19:11:17 +0000 |
commit | e1eecc89c943d20145a887c64193fb0bfb44c250 (patch) | |
tree | 8e7f315d209bf0af908fa999b957e38027e86a4b /base/gdevdrop.c | |
parent | 8fe6187ace91d49c3ca07ab850bc1fe50da3409e (diff) | |
download | ghostpdl-e1eecc89c943d20145a887c64193fb0bfb44c250.tar.gz |
Squash warnings.
Diffstat (limited to 'base/gdevdrop.c')
-rw-r--r-- | base/gdevdrop.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/base/gdevdrop.c b/base/gdevdrop.c index 7a8f28156..cec1fa4ba 100644 --- a/base/gdevdrop.c +++ b/base/gdevdrop.c @@ -29,6 +29,7 @@ #include "gdevmpla.h" #include "gdevmrop.h" #include "gxdevsop.h" +#include "stdint_.h" /* * Define the maximum amount of space we are willing to allocate for a @@ -55,7 +56,7 @@ trace_copy_rop(const char *cname, gx_device * dev, dmlprintf4(dev->memory, " source data=0x%lx x=%d raster=%u id=%lu colors=", (ulong) sdata, sourcex, sraster, (ulong) id); if (scolors) - dmprintf2(dev->memory, "(%lu,%lu);\n", scolors[0], scolors[1]); + dmprintf2(dev->memory, "(%"PRIx64",%"PRIx64");\n", (uint64_t)scolors[0], (uint64_t)scolors[1]); else dmputs(dev->memory, "none;\n"); if (textures) @@ -66,7 +67,7 @@ trace_copy_rop(const char *cname, gx_device * dev, else dmlputs(dev->memory, " textures=none"); if (tcolors) - dmprintf2(dev->memory, " colors=(%lu,%lu)\n", tcolors[0], tcolors[1]); + dmprintf2(dev->memory, " colors=(%"PRIx64",%"PRIx64")\n", (uint64_t)tcolors[0], (uint64_t)tcolors[1]); else dmputs(dev->memory, " colors=none\n"); dmlprintf7(dev->memory, " rect=(%d,%d),(%d,%d) phase=(%d,%d) op=0x%x\n", |