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

@@ -109,7 +109,7 @@ void mode_trace_usart1_irq(void)
/* Fill char into buffer */
rbuf_write(&sim_rcv_buf, c);
} else {
TRACE_DEBUG("e %x st: %x\n", c, stat);
TRACE_DEBUG("e %x st: %lx\n", c, stat);
} /* else: error occurred */
char_stat = stat;