summaryrefslogtreecommitdiff
path: root/base/gxpcmap.c
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2023-01-04 10:04:15 +0000
committerChris Liddell <chris.liddell@artifex.com>2023-01-04 12:25:54 +0000
commitcaa4631be0801055b2ad8e68292342270f96f2bf (patch)
tree84059bf670f5f654692b7b49037523ddd7e2eb5f /base/gxpcmap.c
parent53f10cae72844d73cfd38c80b919746d958930e6 (diff)
downloadghostpdl-caa4631be0801055b2ad8e68292342270f96f2bf.tar.gz
Fix compiler warnings in debug builds
Diffstat (limited to 'base/gxpcmap.c')
-rw-r--r--base/gxpcmap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/gxpcmap.c b/base/gxpcmap.c
index 74ed63e19..d095af2df 100644
--- a/base/gxpcmap.c
+++ b/base/gxpcmap.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2022 Artifex Software, Inc.
+/* Copyright (C) 2001-2023 Artifex Software, Inc.
All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
@@ -950,7 +950,7 @@ gx_pattern_cache_free_entry(gx_pattern_cache * pcache, gx_color_tile * ctile)
if (ctile->ttrans != NULL) {
if_debug2m('v', mem,
- "[v*] Freeing trans pattern from cache, uid = %ld id = %u\n",
+ "[v*] Freeing trans pattern from cache, uid = %ld id = %ld\n",
ctile->uid.id, ctile->id);
if ( ctile->ttrans->pdev14 == NULL) {
/* This can happen if we came from the clist */
@@ -1195,7 +1195,7 @@ gx_pattern_cache_add_entry(gs_gstate * pgs,
ctile->tmask.data = 0;
if (trans != 0) {
if_debug2m('v', pgs->memory,
- "[v*] Adding trans pattern to cache, uid = %ld id = %u\n",
+ "[v*] Adding trans pattern to cache, uid = %ld id = %ld\n",
ctile->uid.id, ctile->id);
ctile->ttrans = trans;
}
@@ -1527,7 +1527,7 @@ gx_pattern_load(gx_device_color * pdc, const gs_gstate * pgs,
if (code < 0)
goto fail;
if (pinst->templat.uses_transparency) {
- if_debug1m('v', mem, "gx_pattern_load: pushing the pdf14 compositor device into this graphics state pat_id = %u\n", pinst->id);
+ if_debug1m('v', mem, "gx_pattern_load: pushing the pdf14 compositor device into this graphics state pat_id = %ld\n", pinst->id);
if ((code = gs_push_pdf14trans_device(saved, true, false, 0, 0)) < 0) /* spot_color_count taken from pdf14 target values */
return code;
saved->device->is_open = true;