(print_object): Use ptrdiff_t, not int, for index that can
exceed INT_MAX.
2011-09-04 Paul Eggert <eggert@cs.ucla.edu>
+ * print.c: Integer overflow fix.
+ (print_object): Use ptrdiff_t, not int, for index that can
+ exceed INT_MAX.
+
* indent.c: Integer overflow fixes.
(position_indentation): Now takes ptrdiff_t, not int.
(Fvertical_motion): Don't wrap around LINES values that don't fit
}
else if (BOOL_VECTOR_P (obj))
{
- register int i;
+ ptrdiff_t i;
register unsigned char c;
struct gcpro gcpro1;
EMACS_INT size_in_chars