X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fdrivers%2Fao_lco.h;h=452092a092df80a4aa940e27f3b623977b5a1020;hb=91b6d1e56a37a2cfae53c3727feaaa40505f48d9;hp=3b123793d7ff4d8327e4d837e2ee8dddc7df1867;hpb=d0adf3f44b4a1b4bfc966dd4841c74157f60d604;p=fw%2Faltos diff --git a/src/drivers/ao_lco.h b/src/drivers/ao_lco.h index 3b123793..452092a0 100644 --- a/src/drivers/ao_lco.h +++ b/src/drivers/ao_lco.h @@ -29,7 +29,7 @@ #if DEBUG extern uint8_t ao_lco_debug; -#define PRINTD(...) do { if (!ao_lco_debug) break; printf ("\r%5u %s: ", ao_tick_count, __func__); printf(__VA_ARGS__); flush(); } while(0) +#define PRINTD(...) do { if (!ao_lco_debug) break; printf ("\r%5lu %s: ", (unsigned long) ao_tick_count, __func__); printf(__VA_ARGS__); flush(); } while(0) #else #define PRINTD(...) #endif