Skip to content

Commit

Permalink
Fix VS warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vtereshkov committed Aug 27, 2023
1 parent 53e5643 commit 645adfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/umka_stmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@ void parseFnBlock(Compiler *comp, Ident *fn, Type *upvaluesStructType)
genGetFieldPtr(&comp->gen, upvalue->offset);
genDeref(&comp->gen, upvalue->type->kind);

Ident *upvalueIdent = identAllocVar(&comp->idents, &comp->types, &comp->modules, &comp->blocks, upvalue->name, upvalue->type, NULL);
Ident *upvalueIdent = identAllocVar(&comp->idents, &comp->types, &comp->modules, &comp->blocks, upvalue->name, upvalue->type, false);
doZeroVar(comp, upvalueIdent);
doPushVarPtr(comp, upvalueIdent);

Expand Down

0 comments on commit 645adfe

Please sign in to comment.