altos: Fix printf format mis-matches
[fw/altos] / src / kernel / ao_tracker.c
index 1454c17c31815aadd08c9d060f10a81cacf78711..0f2491031e8e2d0de8774e2ba1ab96f4d70e9b47 100644 (file)
@@ -134,7 +134,7 @@ ao_tracker(void)
                                                height = -height;
 
                                        if (ao_tracker_force_telem > 1)
-                                               printf("head %d ring %d ground_distance %d height %d\n", gps_head, ring, ground_distance, height);
+                                               printf("head %d ring %d ground_distance %ld height %d\n", gps_head, ring, (long) ground_distance, height);
                                        if (ground_distance > ao_config.tracker_motion ||
                                            height > (ao_config.tracker_motion << 1))
                                        {