changeset 4937:195ceb7d6229

(for main branch) Proper fix for dynarr->largest value assertion failure. Previous fix wasn't right.
author Ben Wing <ben@xemacs.org>
date Tue, 19 Jan 2010 05:35:57 -0600
parents 94bba904528c
children 299dce99bdad
files src/lrecord.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lrecord.h	Tue Jan 19 05:07:36 2010 -0600
+++ b/src/lrecord.h	Tue Jan 19 05:35:57 2010 -0600
@@ -1146,7 +1146,7 @@
   { XD_BLOCK_PTR, offsetof (base_type, base),				\
     XD_INDIRECT(1, 0), {sub_desc} },					\
   { XD_INT,        offsetof (base_type, len) },				\
-  { XD_INT_RESET,  offsetof (base_type, largest) },			\
+  { XD_INT_RESET,  offsetof (base_type, largest), XD_INDIRECT(1, 0) },	\
   { XD_INT_RESET,  offsetof (base_type, max), XD_INDIRECT(1, 0) }
 
 #ifdef NEW_GC
@@ -1154,7 +1154,7 @@
   { XD_LISP_OBJECT_BLOCK_PTR, offsetof (base_type, base),		\
     XD_INDIRECT(1, 0), {sub_desc} },					\
   { XD_INT,        offsetof (base_type, len) },				\
-  { XD_INT_RESET,  offsetof (base_type, largest) },			\
+  { XD_INT_RESET,  offsetof (base_type, largest), XD_INDIRECT(1, 0) },	\
   { XD_INT_RESET,  offsetof (base_type, max), XD_INDIRECT(1, 0) }
 #endif /* NEW_GC */