forked from paparazzi/paparazzi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[generators] flight_plan: fix for longitude > 107deg on 32bit systems
In ocaml an int is always signed it has only 31bits on 32bit systems... So when trying to represent a longitude of more than 107 deg as 1e7deg it is more than the max_int of 1073741823 So always use an Int64 in the convert angle function to fix paparazzi#808
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters