diff src/opaque.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 308d34e9f07d
children
line wrap: on
line diff
--- a/src/opaque.c	Thu Dec 10 17:55:59 2015 +0000
+++ b/src/opaque.c	Sat Dec 12 19:08:46 2015 +0000
@@ -131,7 +131,7 @@
   write_fmt_string
     (printcharfun,
      "#<INTERNAL OBJECT (XEmacs bug?) (opaque-ptr, adr=0x%lx) 0x%x>",
-     (long)(p->ptr), LISP_OBJECT_UID (obj));
+     (EMACS_INT)(p->ptr), LISP_OBJECT_UID (obj));
 }
 
 static int