AP_Terrain: compile fix for gcc 9
This commit is contained in:
parent
f1067eee81
commit
176c648156
@ -175,7 +175,7 @@ void AP_Terrain::open_file(void)
|
||||
if (lon_tmp > 999U) {
|
||||
lon_tmp = 999;
|
||||
}
|
||||
snprintf(p, 13, "/%c%02u%c%03u.DAT",
|
||||
hal.util->snprintf(p, 13, "/%c%02u%c%03u.DAT",
|
||||
block.lat_degrees<0?'S':'N',
|
||||
(unsigned)lat_tmp,
|
||||
block.lon_degrees<0?'W':'E',
|
||||
|
Loading…
Reference in New Issue
Block a user