summaryrefslogtreecommitdiff
path: root/nasmlib
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2018-12-12 14:38:50 -0800
committerH. Peter Anvin (Intel) <hpa@zytor.com>2018-12-12 14:38:50 -0800
commit77f53ba6d4cb90e5a7e09b33357ed7c1fe9f6b9d (patch)
tree6f881bd3b09ee034043f1a298fa864b03de05e71 /nasmlib
parent54aac9d3c1b501050e6e75823317a4e34d6b2066 (diff)
downloadnasm-77f53ba6d4cb90e5a7e09b33357ed7c1fe9f6b9d.tar.gz
warnings: rename ERR_WARN_* to WARN_*
The prefix ERR_WARN_ is unnecessarily long and may be a disincentive to create new warning categories. Change it to WARN_*, it is still plenty distinctive. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'nasmlib')
-rw-r--r--nasmlib/readnum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nasmlib/readnum.c b/nasmlib/readnum.c
index 47080884..60d856e1 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 | ERR_WARN_NOV,
+ nasm_error(ERR_WARNING | ERR_PASS1 | WARN_NOV,
"numeric constant %s does not fit in 64 bits",
str);