diff options
Diffstat (limited to 'Parser/Parser.cpp')
-rw-r--r-- | Parser/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/Parser.cpp b/Parser/Parser.cpp index f8dea6f..ae1c157 100644 --- a/Parser/Parser.cpp +++ b/Parser/Parser.cpp @@ -30,7 +30,7 @@ static int dump_tokens = 0; Term* error(char* msg, const Token& token)
{
static char buf[1024];
- sprintf(buf, " near '%s' in line %d.", (const char*) token.symbol(), token.line());
+ sprintf_s(buf, " near '%s' in line %d.", (const char*) token.symbol(), token.line());
return error(msg, buf);
}
|