diff options
Diffstat (limited to 'base/gxi12bit.c')
-rw-r--r-- | base/gxi12bit.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/base/gxi12bit.c b/base/gxi12bit.c index 0cb70fee..fdf56fb1 100644 --- a/base/gxi12bit.c +++ b/base/gxi12bit.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 @@ -412,14 +412,14 @@ image_render_frac(gx_image_enum * penum, const byte * buffer, int data_x, f: if (sizeof(pdevc_next->colors.binary.color[0]) <= sizeof(ulong)) if_debug7m('B', penum->memory, - "[B]0x%x,0x%x,0x%x,0x%x -> 0x%lx,0x%lx,0x%lx\n", + "[B]0x%x,0x%x,0x%x,0x%x -> 0x%lx,0x%lx," PRI_INTPTR "\n", next.v[0], next.v[1], next.v[2], next.v[3], (ulong)pdevc_next->colors.binary.color[0], (ulong)pdevc_next->colors.binary.color[1], - (ulong)pdevc_next->type); + (intptr_t)pdevc_next->type); else if_debug9m('B', penum->memory, - "[B]0x%x,0x%x,0x%x,0x%x -> 0x%08lx%08lx,0x%08lx%08lx,0x%lx\n", + "[B]0x%x,0x%x,0x%x,0x%x -> 0x%08lx%08lx,0x%08lx%08lx," PRI_INTPTR "\n", next.v[0], next.v[1], next.v[2], next.v[3], (ulong)(pdevc_next->colors.binary.color[0] >> 8 * (sizeof(pdevc_next->colors.binary.color[0]) - sizeof(ulong))), @@ -427,7 +427,7 @@ f: (ulong)(pdevc_next->colors.binary.color[1] >> 8 * (sizeof(pdevc_next->colors.binary.color[1]) - sizeof(ulong))), (ulong)pdevc_next->colors.binary.color[1], - (ulong)pdevc_next->type); + (intptr_t)pdevc_next->type); /* NB: sizeof gx_color_index is 4 or 8 bytes! */ /* Even though the supplied colors don't match, */ |