X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fdrivers%2Fao_lco_bits.c;fp=src%2Fdrivers%2Fao_lco_bits.c;h=b97662a0b29fd1eda6423eb5d1092b7b5300a8d3;hp=bc54dc22b8ab9992d4b8b2a0419fc9774a62e228;hb=91b6d1e56a37a2cfae53c3727feaaa40505f48d9;hpb=d0adf3f44b4a1b4bfc966dd4841c74157f60d604 diff --git a/src/drivers/ao_lco_bits.c b/src/drivers/ao_lco_bits.c index bc54dc22..b97662a0 100644 --- a/src/drivers/ao_lco_bits.c +++ b/src/drivers/ao_lco_bits.c @@ -394,9 +394,9 @@ ao_lco_toggle_drag(void) AO_TICK_TYPE ao_lco_drag_beep_check(AO_TICK_TYPE now, AO_TICK_TYPE delay) { - PRINTD("beep check count %d delta %d\n", + PRINTD("beep check count %d delta %ld\n", ao_lco_drag_beep_count, - (AO_TICK_SIGNED) (now - ao_lco_drag_beep_time)); + (long) (AO_TICK_SIGNED) (now - ao_lco_drag_beep_time)); if (ao_lco_drag_beep_count) { if ((AO_TICK_SIGNED) (now - ao_lco_drag_beep_time) >= 0) { if (ao_lco_drag_beep_on) {