* alloc.c (mark_object_loop_halt, mark_object): Use size_t, not int.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Apr 2011 05:41:46 +0000 (22:41 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Apr 2011 05:41:46 +0000 (22:41 -0700)
commitb895abced91e6dcedf6c580ea3e51befc5c757c1
tree63e086d0c5092fb7ba73d4dd5816da4e9e8f14ca
parent6f076cc771577096ebebb0af50462c6d0a4c112e
* alloc.c (mark_object_loop_halt, mark_object): Use size_t, not int.

Otherwise, GCC 4.6.0 optimizes the loop check away since the check
can always succeed if overflow has undefined behavior.
src/ChangeLog
src/alloc.c