changeset 43161:8a549ab185a2

Fix thinko in last change.
author Andreas Schwab <schwab@suse.de>
date Thu, 07 Feb 2002 11:10:47 +0000
parents 630c8b6deafd
children a62b272dc382
files src/alloc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/alloc.c	Thu Feb 07 11:05:08 2002 +0000
+++ b/src/alloc.c	Thu Feb 07 11:10:47 2002 +0000
@@ -3773,7 +3773,7 @@
 #ifndef GC_LISP_OBJECT_ALIGNMENT
 #define GC_LISP_OBJECT_ALIGNMENT sizeof (Lisp_Object)
 #endif
-  for (i = 0; i < sizeof (Lisp_Object) / GC_LISP_OBJECT_ALIGNMENT; i++)
+  for (i = 0; i < sizeof (Lisp_Object); i += GC_LISP_OBJECT_ALIGNMENT)
     mark_memory ((char *) stack_base + i, end);
 
 #if GC_MARK_STACK == GC_MARK_STACK_CHECK_GCPROS