diff options
| author | David Lechner <david@pybricks.com> | 2019-06-16 13:46:19 -0500 |
|---|---|---|
| committer | David Lechner <david@pybricks.com> | 2019-06-16 15:19:01 -0500 |
| commit | 3b7f96f9822f8d5dd2c3120ae00d3e6d862843dd (patch) | |
| tree | 4807518a8100b63ce6cbff5c9379b2d91f572d21 /tests/tests_basic.c | |
| parent | 47a5aa74ff33b224b3f9150b0fff8b4a01d177fc (diff) | |
| download | libfixmath-3b7f96f9822f8d5dd2c3120ae00d3e6d862843dd.tar.gz | |
Add explicit cast in fix16_from_dbl()
This fixes the error:
implicit conversion from 'float' to 'double' to match other operand
of binary expression
When the compiler options -fsingle-precision-constant -Wdouble-promotion
are set
Diffstat (limited to 'tests/tests_basic.c')
0 files changed, 0 insertions, 0 deletions
