2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
* xfaces.c (face_at_buffer_position): Remove unused local.
+ (face_at_buffer_position, face_for_overlay_string):
+ Don't assume buffer size fits in 'int'.
Use C99-style 'extern inline' if available.
* buffer.h (BUFFER_INLINE):
for (i = 0; i < noverlays; i++)
{
Lisp_Object oend;
- int oendpos;
+ ptrdiff_t oendpos;
prop = Foverlay_get (overlay_vec[i], propname);
if (!NILP (prop))
Lisp_Object attrs[LFACE_VECTOR_SIZE];
Lisp_Object prop, position;
Lisp_Object frame;
- int endpos;
+ ptrdiff_t endpos;
Lisp_Object propname = mouse ? Qmouse_face : Qface;
Lisp_Object limit1, end;
struct face *default_face;