comparison src/extents.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 56144c8593a8
children
comparison
equal deleted inserted replaced
5933:c1e8f3294298 5934:e2fae7783046
2848 if (!NILP (extent_begin_glyph (anc))) *bp++ = '*'; 2848 if (!NILP (extent_begin_glyph (anc))) *bp++ = '*';
2849 *bp++ = (extent_start_open_p (anc) ? '(': '['); 2849 *bp++ = (extent_start_open_p (anc) ? '(': '[');
2850 if (extent_detached_p (ext)) 2850 if (extent_detached_p (ext))
2851 strcpy (bp, "detached"); 2851 strcpy (bp, "detached");
2852 else 2852 else
2853 sprintf (bp, "%ld, %ld", 2853 sprintf (bp, "%Id, %Id",
2854 XFIXNUM (Fextent_start_position (obj)), 2854 XFIXNUM (Fextent_start_position (obj)),
2855 XFIXNUM (Fextent_end_position (obj))); 2855 XFIXNUM (Fextent_end_position (obj)));
2856 bp += strlen (bp); 2856 bp += strlen (bp);
2857 *bp++ = (extent_end_open_p (anc) ? ')': ']'); 2857 *bp++ = (extent_end_open_p (anc) ? ')': ']');
2858 if (!NILP (extent_end_glyph (anc))) *bp++ = '*'; 2858 if (!NILP (extent_end_glyph (anc))) *bp++ = '*';