altos: Fix printf format mis-matches
[fw/altos] / src / drivers / ao_pad.c
index 07c49afc6b890a4094a842360223eddc52eef715..f5c51c8b874a6ac30dd14fdc0861996562d6536f 100644 (file)
@@ -440,8 +440,8 @@ ao_pad(void)
                                break;
                        }
                        if ((AO_TICK_SIGNED) (ao_time() - ao_pad_arm_time) > AO_SEC_TO_TICKS(20)) {
-                               PRINTD ("late pad arm_time %d time %d\n",
-                                       ao_pad_arm_time, ao_time());
+                               PRINTD ("late pad arm_time %ld time %ld\n",
+                                       (long) ao_pad_arm_time, ao_time());
                                break;
                        }
                        PRINTD ("ignite\n");
@@ -458,8 +458,8 @@ ao_pad(void)
                        if (!ao_log_running) ao_log_start();
 #endif
                        if ((AO_TICK_SIGNED) (ao_time() - ao_pad_arm_time) > AO_SEC_TO_TICKS(20)) {
-                               PRINTD ("late pad arm_time %d time %d\n",
-                                       ao_pad_arm_time, ao_time());
+                               PRINTD ("late pad arm_time %ld time %ld\n",
+                                       (long) ao_pad_arm_time, (long) ao_time());
                                break;
                        }
                        PRINTD ("ignite\n");