diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-06-20 22:46:18 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-06-20 22:46:18 -0700 |
commit | 2619181c7f4139af56f2fce340d2b0046b12d552 (patch) | |
tree | c6b649f965be4a59ca356826f3985752f8e3ee54 /socket.h | |
parent | f34284f052caacc7e0873d8ea333d372e8e10125 (diff) | |
download | txr-2619181c7f4139af56f2fce340d2b0046b12d552.tar.gz txr-2619181c7f4139af56f2fce340d2b0046b12d552.tar.bz2 txr-2619181c7f4139af56f2fce340d2b0046b12d552.zip |
ffi: fix broken float put.
* ffi.c (ffi_float_put): Fix silly range check:
FLT_MIN and FLT_MAX are, of course, both positive.
Also, fix num being used as an argument in the error
diagnostic. It's the address of a C function, not
an object.
Diffstat (limited to 'socket.h')
0 files changed, 0 insertions, 0 deletions