(gc_sweep): Make already_free an EMACS_INT.
(inhibit_garbage_collection): Use XSETINT, and do arithmetic in type EMACS_INT.
int consing_since_gc;
/* Number of bytes of consing since gc before another gc should be done. */
-int gc_cons_threshold;
+EMACS_INT gc_cons_threshold;
/* Nonzero during gc */
int gc_in_progress;
inhibit_garbage_collection ()
{
int count = specpdl_ptr - specpdl;
+ Lisp_Object number;
- specbind (Qgc_cons_threshold, make_number ((1 << (VALBITS - 1)) - 1));
+ XSETINT (number, ((EMACS_INT) 1 << (VALBITS - 1)) - 1);
+
+ specbind (Qgc_cons_threshold, number);
return count;
}
for (mblk = marker_block; mblk; mblk = mblk->next)
{
register int i;
- int already_free = -1;
+ EMACS_INT already_free = -1;
for (i = 0; i < lim; i++)
{