diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-03-22 07:35:57 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-03-22 07:35:57 -0700 |
commit | 408de1523353755f87b8ca961d1092ff9628fc7c (patch) | |
tree | b53472272241031155b4766c49874324df416137 /lib.c | |
parent | 7d9d2c5b1b968f0d751149d7b891d3301d1b8d61 (diff) | |
download | txr-408de1523353755f87b8ca961d1092ff9628fc7c.tar.gz txr-408de1523353755f87b8ca961d1092ff9628fc7c.tar.bz2 txr-408de1523353755f87b8ca961d1092ff9628fc7c.zip |
float: fix syntax error involving fplassify.
* lib.c (bad_float): Add missing parentheses around
controlling expression of switch statement. This worked on
glibc because it's a macro which expands to parentheses.
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3288,7 +3288,7 @@ cnum c_fixnum(val num, val self) #if HAVE_FPCLASSIFY INLINE int bad_float(double d) { - switch fpclassify(d) { + switch (fpclassify(d)) { case FP_ZERO: case FP_NORMAL: case FP_SUBNORMAL: |