Fixed a compiler warning in script.cpp (#4586)
Fixes #4582 Thanks to @idk-whoami and @aleos89
This commit is contained in:
@@ -1692,7 +1692,7 @@ const char* parse_syntax(const char* p)
|
||||
p = skip_space(p);
|
||||
if(*p != ':')
|
||||
disp_error_message("parse_syntax: expect ':'",p);
|
||||
sprintf(label,"if(%lld != $@__SW%x_VAL) goto __SW%x_%x;",
|
||||
sprintf(label,"if(%" PRId64 " != $@__SW%x_VAL) goto __SW%x_%x;",
|
||||
v,syntax.curly[pos].index,syntax.curly[pos].index,syntax.curly[pos].count+1);
|
||||
syntax.curly[syntax.curly_count++].type = TYPE_NULL;
|
||||
// Bad I do not parse twice
|
||||
|
||||
Reference in New Issue
Block a user