Commit 80e0f4c8 authored by Federico Vaga's avatar Federico Vaga

tst:rmq: fix gcc warnings

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 767faabf
......@@ -36,7 +36,6 @@ uint32_t rx_errors = 0;
void send_reply(int cpu_id, int rmq, int payload_len)
{
struct trtl_fw_msg msg;
int i;
// queue full? wait
if (!mq_claim(TRTL_RMQ, rmq))
......@@ -119,7 +118,8 @@ void print_stats()
if ((last_ts == 0) || (ts >= (last_ts + 1000)))
{
pp_printf("Stats: RX %d, missed %d, errors %d\n\r", rx_count, rx_missed, rx_errors);
pp_printf("Stats: RX %"PRId32", missed %"PRId32", errors %"PRId32"\n\r",
rx_count, rx_missed, rx_errors);
last_ts = ts;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment