diff options
author | H. Peter Anvin (Intel) <hpa@zytor.com> | 2018-12-12 18:13:47 -0800 |
---|---|---|
committer | H. Peter Anvin (Intel) <hpa@zytor.com> | 2018-12-12 18:13:47 -0800 |
commit | fef75c265a2dafb6482ffd4078f74f2a66fa2535 (patch) | |
tree | d0413fcc1a72ee51aaecd3f99b9361678dbc9f07 /nasmlib | |
parent | 8e08fb6da7bf1ac50b7c960c5b13c3bed7535b3d (diff) | |
download | nasm-fef75c265a2dafb6482ffd4078f74f2a66fa2535.tar.gz |
warnings: Make WARN_ constants consistent with -w options
Not only does this make it consistent, but allows for automation.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'nasmlib')
-rw-r--r-- | nasmlib/readnum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nasmlib/readnum.c b/nasmlib/readnum.c index 60d856e1..02e30830 100644 --- a/nasmlib/readnum.c +++ b/nasmlib/readnum.c @@ -164,7 +164,7 @@ int64_t readnum(const char *str, bool *error) } if (warn) - nasm_error(ERR_WARNING | ERR_PASS1 | WARN_NOV, + nasm_error(ERR_WARNING | ERR_PASS1 | WARN_NUMBER_OVERFLOW, "numeric constant %s does not fit in 64 bits", str); |