lisp object to integer before doing arithmetic.
+2001-12-27 Ken Raeburn <raeburn@gnu.org>
+
+ * window.c (enlarge_window): In new preserve_before code, convert
+ CURBEG from lisp object to integer before doing arithmetic.
+
2001-12-27 Richard M. Stallman <rms@gnu.org>
* bytecode.c (Fbyte_code): Undo previous change.
{
maxdelta = (*sizefun) (parent) - XINT (*sizep);
/* Subtract size of siblings before, since we can't take that. */
- maxdelta -= CURBEG (window) - CURBEG (parent);
+ maxdelta -= XINT (CURBEG (window)) - XINT (CURBEG (parent));
}
else
maxdelta = (!NILP (p->next) ? ((*sizefun) (p->next)