summaryrefslogtreecommitdiff
path: root/nasmlib.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-01-08 22:13:48 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-01-08 22:13:48 -0800
commit72c64378909cf7d961d6fd7cad1adc77ce72507d (patch)
tree1c4e98a57ec5b1249b5e2dcea321fcb90cf56cf7 /nasmlib.c
parent08367e22315b0ba1011fa42987468fa3630c166f (diff)
downloadnasm-72c64378909cf7d961d6fd7cad1adc77ce72507d.tar.gz
BR 1864243: better warnings for out-of-range constants
In particular, we'd miss issuing warnings for out-of-range dword values, and the message for constants too large (we can't deal with > 64 bits) said 32 bits, not 64.
Diffstat (limited to 'nasmlib.c')
-rw-r--r--nasmlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nasmlib.c b/nasmlib.c
index 7e4e91f7..eefeb2ca 100644
--- a/nasmlib.c
+++ b/nasmlib.c
@@ -316,7 +316,7 @@ int64_t readnum(char *str, bool *error)
if (warn)
nasm_malloc_error(ERR_WARNING | ERR_PASS1 | ERR_WARN_NOV,
- "numeric constant %s does not fit in 32 bits",
+ "numeric constant %s does not fit in 64 bits",
str);
return result * sign;