summaryrefslogtreecommitdiff
path: root/preproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'preproc.c')
-rw-r--r--preproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/preproc.c b/preproc.c
index 8984a52c..e2b12e4b 100644
--- a/preproc.c
+++ b/preproc.c
@@ -5206,7 +5206,7 @@ static void pp_extra_stdmac(macros_t *macros)
static void make_tok_num(Token * tok, int64_t val)
{
- char numbuf[20];
+ char numbuf[32];
snprintf(numbuf, sizeof(numbuf), "%"PRId64"", val);
tok->text = nasm_strdup(numbuf);
tok->type = TOK_NUMBER;