Fix format string related warnings (int vs. long)

Change-Id: I924a16f03e2a099b9f8eb56746bff2b9101c6802
This commit is contained in:
Harald Welte committed 2019-12-14 11:47:06 +01:00
1 parent 37055b9286
commit 3c003cc2fa
5 files changed
+8 -8

No files matched your search

@@ -68,7 +68,7 @@ static void __dfufunc handle_getstate(void)
{
uint8_t u8 = g_dfu->state;
TRACE_DEBUG("handle_getstate(%u)\n\r", g_dfu->state);
TRACE_DEBUG("handle_getstate(%lu)\n\r", g_dfu->state);
USBD_Write(0, (char *)&u8, sizeof(u8), NULL, 0);
}