diff options
Diffstat (limited to 'src/common/convert_numeric.c')
-rw-r--r-- | src/common/convert_numeric.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/convert_numeric.c b/src/common/convert_numeric.c index 9c86b6f..b345014 100644 --- a/src/common/convert_numeric.c +++ b/src/common/convert_numeric.c | |||
@@ -363,7 +363,7 @@ EXTRACTOR_common_floatformat_to_double (const struct EXTRACTOR_floatformat *fmt, | |||
363 | mant_off = fmt->man_start; | 363 | mant_off = fmt->man_start; |
364 | dto = 0.0; | 364 | dto = 0.0; |
365 | 365 | ||
366 | special_exponent = exponent == 0 || (unsigned long) exponent == fmt->exp_nan; | 366 | special_exponent = (exponent == 0) || ((unsigned long) exponent == fmt->exp_nan); |
367 | 367 | ||
368 | /* Don't bias zero's, denorms or NaNs. */ | 368 | /* Don't bias zero's, denorms or NaNs. */ |
369 | if (!special_exponent) | 369 | if (!special_exponent) |