diff src/glyphs-msw.c @ 5934:e2fae7783046 cygwin

lots of use of EMACS_INT, a few others, to eliminate all pointer truncation warnings
author Henry Thompson <ht@markup.co.uk>
date Sat, 12 Dec 2015 19:08:46 +0000
parents 68639fb08af8
children 574f0cded429
line wrap: on
line diff
--- a/src/glyphs-msw.c	Thu Dec 10 17:55:59 2015 +0000
+++ b/src/glyphs-msw.c	Sat Dec 12 19:08:46 2015 +0000
@@ -1710,11 +1710,11 @@
     case IMAGE_COLOR_PIXMAP:
     case IMAGE_POINTER:
       write_fmt_string (printcharfun, " (0x%lx",
-			(unsigned long) IMAGE_INSTANCE_MSWINDOWS_BITMAP (p));
+			(uintptr_t) IMAGE_INSTANCE_MSWINDOWS_BITMAP (p));
       if (IMAGE_INSTANCE_MSWINDOWS_MASK (p))
 	{
 	  write_fmt_string (printcharfun, "/0x%lx",
-			    (unsigned long) IMAGE_INSTANCE_MSWINDOWS_MASK (p));
+			    (uintptr_t) IMAGE_INSTANCE_MSWINDOWS_MASK (p));
 	}
       write_ascstring (printcharfun, ")");
       break;