comparison 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
comparison
equal deleted inserted replaced
5933:c1e8f3294298 5934:e2fae7783046
1708 { 1708 {
1709 case IMAGE_MONO_PIXMAP: 1709 case IMAGE_MONO_PIXMAP:
1710 case IMAGE_COLOR_PIXMAP: 1710 case IMAGE_COLOR_PIXMAP:
1711 case IMAGE_POINTER: 1711 case IMAGE_POINTER:
1712 write_fmt_string (printcharfun, " (0x%lx", 1712 write_fmt_string (printcharfun, " (0x%lx",
1713 (unsigned long) IMAGE_INSTANCE_MSWINDOWS_BITMAP (p)); 1713 (uintptr_t) IMAGE_INSTANCE_MSWINDOWS_BITMAP (p));
1714 if (IMAGE_INSTANCE_MSWINDOWS_MASK (p)) 1714 if (IMAGE_INSTANCE_MSWINDOWS_MASK (p))
1715 { 1715 {
1716 write_fmt_string (printcharfun, "/0x%lx", 1716 write_fmt_string (printcharfun, "/0x%lx",
1717 (unsigned long) IMAGE_INSTANCE_MSWINDOWS_MASK (p)); 1717 (uintptr_t) IMAGE_INSTANCE_MSWINDOWS_MASK (p));
1718 } 1718 }
1719 write_ascstring (printcharfun, ")"); 1719 write_ascstring (printcharfun, ")");
1720 break; 1720 break;
1721 1721
1722 default: 1722 default: