From 914242a53117bf979fe21353979503868b5b4709 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Tue, 20 Jan 2015 02:51:10 +0900 Subject: [PATCH] [bugfix] wrong type specified for cxt->syms --- extlib/benz/codegen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extlib/benz/codegen.c b/extlib/benz/codegen.c index 704fb863..9b3f8e9f 100644 --- a/extlib/benz/codegen.c +++ b/extlib/benz/codegen.c @@ -1005,7 +1005,7 @@ push_codegen_context(codegen_state *state, pic_value name, pic_value args, pic_v cxt->plen = 0; cxt->pcapa = PIC_POOL_SIZE; - cxt->syms = pic_calloc(pic, PIC_POOL_SIZE, sizeof(pic_value)); + cxt->syms = pic_calloc(pic, PIC_POOL_SIZE, sizeof(pic_sym)); cxt->slen = 0; cxt->scapa = PIC_POOL_SIZE;