summaryrefslogtreecommitdiff
path: root/float.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-11-17 14:35:19 -0800
committerH. Peter Anvin <hpa@zytor.com>2007-11-17 14:35:19 -0800
commitc9588ea1bc313a4365d7507411b8f1524872318e (patch)
tree5bccd6e9fd82ca5e0cd1cd527b23fde2c414b338 /float.c
parentb284e48ae2b8a85e9a1f89f99e096e7e1f673a8b (diff)
downloadnasm-c9588ea1bc313a4365d7507411b8f1524872318e.tar.gz
nasm-c9588ea1bc313a4365d7507411b8f1524872318e.tar.bz2
nasm-c9588ea1bc313a4365d7507411b8f1524872318e.zip
Make the definition for float_const() match the prototype
The definition for float_const() had int32_t, the prototype had only int. We only care about the sign, so int makes more sense.
Diffstat (limited to 'float.c')
-rw-r--r--float.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/float.c b/float.c
index c4582cd..cbc5bc3 100644
--- a/float.c
+++ b/float.c
@@ -827,7 +827,7 @@ static int to_float(const char *str, int s, uint8_t * result,
return 1; /* success */
}
-int float_const(const char *number, int32_t sign, uint8_t * result,
+int float_const(const char *number, int sign, uint8_t * result,
int bytes, efunc err)
{
error = err;