summaryrefslogtreecommitdiff
path: root/devices/gdevcdj.c
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2020-06-26 20:05:36 +0100
committerRobin Watts <Robin.Watts@artifex.com>2020-06-29 13:56:10 +0100
commit71962c6ed1e0bdf41e604a8014b93889f9d07ee5 (patch)
treee57f0e589bcbc5e037d3002eb61e8a414097b39f /devices/gdevcdj.c
parentb68604731130f5493d2ecd5ae627b1bae9624c64 (diff)
downloadghostpdl-71962c6ed1e0bdf41e604a8014b93889f9d07ee5.tar.gz
Squash warnings seen in Windows 64 bit build.
Diffstat (limited to 'devices/gdevcdj.c')
-rw-r--r--devices/gdevcdj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/devices/gdevcdj.c b/devices/gdevcdj.c
index ef480315e..ce74cc299 100644
--- a/devices/gdevcdj.c
+++ b/devices/gdevcdj.c
@@ -2150,7 +2150,7 @@ hp_colour_print_page(gx_device_printer * pdev, gp_file * prn_stream, int ptype)
ep_p += plane_size;
}
/* Make a sentinel and align to word size. */
- eg.print_buf = (byte *)((word)(ep_p + sizeof(word)) & ~(sizeof(word)-1));
+ eg.print_buf = (byte *)((intptr_t)(ep_p + sizeof(word)) & ~(sizeof(word)-1));
}
eg.num_comps = num_comps;
}