From 1757d8623abe4e6b2d3cb9370b332a229844d38b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Tue, 12 May 1998 17:24:29 -0700 Subject: [PATCH] bugfix in cast from mapping to array Rev: src/mapping.c:1.32 --- src/mapping.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mapping.c b/src/mapping.c index 5f960514bf..27ad9109a9 100644 --- a/src/mapping.c +++ b/src/mapping.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id: mapping.c,v 1.31 1998/04/27 09:55:32 hubbe Exp $"); +RCSID("$Id: mapping.c,v 1.32 1998/05/13 00:24:29 hubbe Exp $"); #include "main.h" #include "object.h" #include "mapping.h" @@ -590,6 +590,7 @@ struct array *mapping_to_array(struct mapping *m) assign_svalue(b->item+1, & k->val); s->u.array=b; s->type=T_ARRAY; + s++; } a->type_field = BIT_ARRAY; -- GitLab