AIS: fix float to integer conversion for ARM targets
commit8ed0670c2d60fa5ab957d94793eba88dc33d7bc6
authorMario Konrad <mario.konrad@gmx.net>
Tue, 17 Jan 2023 09:23:43 +0000 (17 10:23 +0100)
committerMario Konrad <mario.konrad@gmx.net>
Tue, 17 Jan 2023 09:28:39 +0000 (17 10:28 +0100)
tree97e75f0667997fb801838525ca595bf844feb9d9
parentc4e1ba911836fabcd0cc18468866e714fc6ab226
AIS: fix float to integer conversion for ARM targets

Thanks to the finding of Ronan (https://github.com/rdouguet), the
conversion from negative floating point to unsigned integer was wrong.
The change provided by Ronan fixes the issue.

This addresses GitHub issue #51.
src/marnav/ais/angle.cpp