Skip to content

Commit

Permalink
tests/gnrc_udp: fix printf format string (%d->%u).
Browse files Browse the repository at this point in the history
This was causing the CI build to fail in the static-check stage
(cppcheck).
  • Loading branch information
jcarrano committed Apr 11, 2019
1 parent 54cbdaa commit c0af423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/gnrc_udp/udp.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static void *_eventloop(void *arg)

switch (msg.type) {
case GNRC_NETAPI_MSG_TYPE_RCV:
printf("Packets received: %d\n", ++rcv_count);
printf("Packets received: %u\n", ++rcv_count);
gnrc_pktbuf_release(msg.content.ptr);
break;
case GNRC_NETAPI_MSG_TYPE_GET:
Expand Down

0 comments on commit c0af423

Please sign in to comment.