summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-09-18 18:33:17 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-09-18 18:33:17 -0700
commit26976a187fa0b3e393118b6bf1a72707b0767ddb (patch)
tree94cc4d0c3596f2168d051356fc746c0a1be97441
parentfe2177fe4287bbfa9205bcd362694f47870a3c30 (diff)
downloadnasm-26976a187fa0b3e393118b6bf1a72707b0767ddb.tar.gz
Fix error-reporting in hexadecimal floating-point numbers
-rw-r--r--float.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/float.c b/float.c
index 08dfdb47..b87db848 100644
--- a/float.c
+++ b/float.c
@@ -128,7 +128,7 @@ static void ieee_flconvert_hex(char *string, uint16_t *mant,
} else {
error(ERR_NONFATAL,
"floating-point constant: `%c' is invalid character",
- *string);
+ c);
return;
}
}