Modified variable declaration for Windows support.

This commit is contained in:
Ward Fisher 2013-07-16 17:18:10 +00:00
parent 5800b4b41a
commit e0e64736b5

View File

@ -368,8 +368,9 @@ generate_basetype(Symbol* tsym, NCConstant* con, Bytebuffer* codebuf, Datalist*
} else {
generator->listbegin(generator,LISTVLEN,data->length,codebuf,&uid);
for(count=0;count<data->length;count++) {
NCConstant* con;
generator->list(generator,LISTVLEN,uid,count,vlenbuf);
NCConstant* con = datalistith(data,count);
con = datalistith(data,count);
generate_basetype(tsym->typ.basetype,con,vlenbuf,NULL,generator);
}
generator->listend(generator,LISTVLEN,uid,count,codebuf,(void*)vlenbuf);