diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-01-08 22:13:48 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-01-08 22:13:48 -0800 |
commit | 72c64378909cf7d961d6fd7cad1adc77ce72507d (patch) | |
tree | 1c4e98a57ec5b1249b5e2dcea321fcb90cf56cf7 /nasmlib.c | |
parent | 08367e22315b0ba1011fa42987468fa3630c166f (diff) | |
download | nasm-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |