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.
This commit is contained in:
H. Peter Anvin 2007-11-17 14:35:19 -08:00
parent b284e48ae2
commit c9588ea1bc

View File

@ -827,7 +827,7 @@ static int to_float(const char *str, int s, uint8_t * result,
return 1; /* success */ 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) int bytes, efunc err)
{ {
error = err; error = err;