summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-09-10 18:10:49 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-09-11 20:06:36 +0200
commitacfc02c1747065fe450c7cfeb6f1844b62335f08 (patch)
tree5887806a2e6b99bbb0255e013a9028810e230a7f /psi/zvmem.c
parentImport Ghostscript 9.52 (diff)
downloadghostscript-gpl-patches-acfc02c1747065fe450c7cfeb6f1844b62335f08.tar.gz
ghostscript-gpl-patches-acfc02c1747065fe450c7cfeb6f1844b62335f08.tar.bz2
ghostscript-gpl-patches-acfc02c1747065fe450c7cfeb6f1844b62335f08.zip
Import Ghostscript 9.53ghostscript-9.53
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'psi/zvmem.c')
-rw-r--r--psi/zvmem.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/psi/zvmem.c b/psi/zvmem.c
index 5c0810f3..63dfe251 100644
--- a/psi/zvmem.c
+++ b/psi/zvmem.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2019 Artifex Software, Inc.
+/* Copyright (C) 2001-2020 Artifex Software, Inc.
All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
@@ -79,8 +79,8 @@ zsave(i_ctx_t *i_ctx_p)
ifree_object(vmsave, "zsave");
return_error(gs_error_VMerror);
}
- if_debug2m('u', imemory, "[u]vmsave 0x%lx, id = %lu\n",
- (ulong) vmsave, (ulong) sid);
+ if_debug2m('u', imemory, "[u]vmsave "PRI_INTPTR", id = %lu\n",
+ (intptr_t) vmsave, (ulong) sid);
code = gs_gsave_for_save(igs, &prev);
if (code < 0)
return code;
@@ -106,8 +106,8 @@ restore_check_save(i_ctx_t *i_ctx_p, alloc_save_t **asave)
if (code < 0)
return code;
- if_debug2m('u', imemory, "[u]vmrestore 0x%lx, id = %lu\n",
- (ulong) alloc_save_client_data(*asave),
+ if_debug2m('u', imemory, "[u]vmrestore "PRI_INTPTR", id = %lu\n",
+ (intptr_t) alloc_save_client_data(*asave),
(ulong) op->value.saveid);
if (I_VALIDATE_BEFORE_RESTORE)
ivalidate_clean_spaces(i_ctx_p);