From c9588ea1bc313a4365d7507411b8f1524872318e Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Sat, 17 Nov 2007 14:35:19 -0800 Subject: [PATCH] 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. --- float.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/float.c b/float.c index c4582cd2..cbc5bc31 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;