From e1eecc89c943d20145a887c64193fb0bfb44c250 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Thu, 22 Nov 2018 18:18:03 +0000 Subject: Squash warnings. --- base/gdevdrop.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'base/gdevdrop.c') 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", -- cgit v1.2.1