summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-03-30 10:59:39 +0200
committerThomas Deutschmann <whissi@gentoo.org>2021-04-01 00:04:14 +0200
commit5ff1d6955496b3cf9a35042c9ac35db43bc336b1 (patch)
tree6d470f7eb448f59f53e8df1010aec9dad8ce1f72 /base/gsalloc.c
parentImport Ghostscript 9.53.1 (diff)
downloadghostscript-gpl-patches-5ff1d6955496b3cf9a35042c9ac35db43bc336b1.tar.gz
ghostscript-gpl-patches-5ff1d6955496b3cf9a35042c9ac35db43bc336b1.tar.bz2
ghostscript-gpl-patches-5ff1d6955496b3cf9a35042c9ac35db43bc336b1.zip
Import Ghostscript 9.54ghostscript-9.54
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'base/gsalloc.c')
-rw-r--r--base/gsalloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/gsalloc.c b/base/gsalloc.c
index b8fb7b67..57a77c7d 100644
--- a/base/gsalloc.c
+++ b/base/gsalloc.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2020 Artifex Software, Inc.
+/* Copyright (C) 2001-2021 Artifex Software, Inc.
All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
@@ -2830,7 +2830,7 @@ debug_print_object(const gs_memory_t *mem, const void *obj, const dump_control_t
;
}
if (options & dump_do_marks) {
- dmprintf2(mem, " smark/back=%u ("PRI_INTPTR")", pre->o_smark, pre->o_smark);
+ dmprintf2(mem, " smark/back=%u (0x%x)", pre->o_smark, pre->o_smark);
}
dmputc(mem, '\n');
if (type == &st_free)
@@ -2987,8 +2987,8 @@ static void ddct(const gs_memory_t *mem, clump_t *cp, clump_t *parent, int depth
dmlprintf7(mem, "Clump "PRI_INTPTR":"PRI_INTPTR" parent="PRI_INTPTR" left="PRI_INTPTR":"PRI_INTPTR" right="PRI_INTPTR":"PRI_INTPTR"\n",
(intptr_t)cp, (intptr_t)cp->cbase, (intptr_t)cp->parent,
- (intptr_t)cp->left, (intptr_t)cp->left ? cp->left->cbase : NULL,
- (intptr_t)cp->right, (intptr_t)cp->right ? cp->right->cbase : NULL);
+ (intptr_t)cp->left, (intptr_t)(cp->left ? cp->left->cbase : NULL),
+ (intptr_t)cp->right, (intptr_t)(cp->right ? cp->right->cbase : NULL));
if (cp->parent != parent)
dmlprintf(mem, "Parent pointer mismatch!\n");
ddct(mem, cp->left, cp, depth+1);