[bugfix] wrong type specified for cxt->syms

This commit is contained in:
Yuichi Nishiwaki 2015-01-20 02:51:10 +09:00
parent 7964c4f5bb
commit 914242a531
1 changed files with 1 additions and 1 deletions

View File

@ -1005,7 +1005,7 @@ push_codegen_context(codegen_state *state, pic_value name, pic_value args, pic_v
cxt->plen = 0; cxt->plen = 0;
cxt->pcapa = PIC_POOL_SIZE; 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->slen = 0;
cxt->scapa = PIC_POOL_SIZE; cxt->scapa = PIC_POOL_SIZE;