Fix format string related warnings (int vs. long)

Change-Id: I924a16f03e2a099b9f8eb56746bff2b9101c6802
This commit is contained in:
Harald Welte
2019-12-14 11:39:14 +01:00
parent 37055b9286
commit 3c003cc2fa
5 changed files with 8 additions and 8 deletions

View File

@@ -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);
}