Infinidat / infi.instruct

declarative structure marshalling
BSD 3-Clause "New" or "Revised" License
6 stars 3 forks source link

Fixed float format character assert #4

Closed mattbkt closed 6 years ago

mattbkt commented 6 years ago

STRUCT_FLOAT_PACKERS has format characters 'f' and 'q', but format_from_struct_float_arguments checked against 'f' and 'd'. This prevented 8 byte floats from being used.

mattbkt commented 6 years ago

'd' is the correct character, instead of 'q'.

wiggin15 commented 6 years ago

Thanks