From 71962c6ed1e0bdf41e604a8014b93889f9d07ee5 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Fri, 26 Jun 2020 20:05:36 +0100 Subject: Squash warnings seen in Windows 64 bit build. --- devices/gdevcdj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devices/gdevcdj.c') 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; } -- cgit v1.2.1