diff options
Diffstat (limited to 'src/ilasm/prebuilt')
-rw-r--r-- | src/ilasm/prebuilt/asmparse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ilasm/prebuilt/asmparse.cpp b/src/ilasm/prebuilt/asmparse.cpp index 71b31a5ed6..50c62030ff 100644 --- a/src/ilasm/prebuilt/asmparse.cpp +++ b/src/ilasm/prebuilt/asmparse.cpp @@ -1744,7 +1744,7 @@ YYSTATIC YYCONST short yyrecover[] = { #define YYAPI_TOKENTYPE int #define YYAPI_TOKENEME(t) (t) #define YYAPI_TOKENNONE -1 -#define YYAPI_TOKENSTR(t) (sprintf(yytokbuf, "%d", t), yytokbuf) +#define YYAPI_TOKENSTR(t) (sprintf_s(yytokbuf, _countof(yytokbuf), "%d", t), yytokbuf) #define YYAPI_VALUENAME yylval #define YYAPI_VALUETYPE YYSTYPE #define YYAPI_VALUEOF(v) (v) |