Skip to content

Commit 03a6b4e

Browse files
committed
fixed a compiler warninig
1 parent 67bc12b commit 03a6b4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/nucode/outnu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1903,7 +1903,7 @@ NuCompileExpression(NuIrList *irl, AST *node) {
19031903
if (x == 0) {
19041904
AST *astmsg = node->right;
19051905
const char *msg = GetStringFromAst(astmsg);
1906-
ERROR(node, msg);
1906+
ERROR(node, "%s", msg);
19071907
}
19081908
return 0;
19091909
}

0 commit comments

Comments
 (0)