summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-10-26 08:59:04 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-10-26 08:59:04 -0700
commit9a65f71d64d037092025c1e6ef051b1167a725a9 (patch)
tree77101e25787639031ef56542fcadd3343e6e4db7
parent6f4e92b760091ff8fcb0e0075c9478c31d0a86ec (diff)
downloadnasm-9a65f71d64d037092025c1e6ef051b1167a725a9.tar.gz
Better description of the number-overflow warning
Better grammar and fix incorrect description of the number-overflow warning (it is not just limited to 64-bit arithmetic overflow, it also triggers when trying to squeeze in a value which is too large into an immediate.) Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--nasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nasm.c b/nasm.c
index a800db68..b61acc40 100644
--- a/nasm.c
+++ b/nasm.c
@@ -118,7 +118,7 @@ static const struct warning {
{"macro-selfref", "cyclic macro references", false},
{"macro-defaults", "macros with more default than optional parameters", true},
{"orphan-labels", "labels alone on lines without trailing `:'", true},
- {"number-overflow", "numeric constants does not fit in 64 bits", true},
+ {"number-overflow", "numeric constant does not fit", true},
{"gnu-elf-extensions", "using 8- or 16-bit relocation in ELF32, a GNU extension", false},
{"float-overflow", "floating point overflow", true},
{"float-denorm", "floating point denormal", false},