Skip to content
Snippets Groups Projects
Commit 6ec82208 authored by Taco Hoekwater's avatar Taco Hoekwater
Browse files

warnings for texluac.c

parent 4a8a03b4
Branches
Tags
No related merge requests found
......@@ -156,9 +156,9 @@ static const Proto *combine(lua_State * L, int n)
f->source = luaS_newliteral(L, "=(" PROGNAME ")");
f->maxstacksize = 1;
pc = 2 * n + 1;
f->code = luaM_newvector(L, pc, Instruction);
f->code = luaM_newvector(L, (unsigned)pc, Instruction);
f->sizecode = pc;
f->p = luaM_newvector(L, n, Proto *);
f->p = luaM_newvector(L, (unsigned)n, Proto *);
f->sizep = n;
pc = 0;
for (i = 0; i < n; i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment