fix a format string directives in queue_seqset()

Coverity pointed out that a format string used inappropriate
format string directives for variables of type size_t.

Change-Id: I889019aad963932fdc032421e60a72c809a93bca
Related: CID#135197
This commit is contained in:
Stefan Sperling
2018-11-21 15:54:45 +01:00
parent cc8181fefe
commit 3730c550cd

View File

@@ -79,7 +79,7 @@ static int queue_seqset(struct queue_t *queue, struct qmsg_t *qmsg,
if (QUEUE_DEBUG)
printf("Begin queue_seqset seq = %d\n", (int)seq);
if (QUEUE_DEBUG)
printf("SIZEOF PEER %d, *PEER %d\n", sizeof(peer),
printf("SIZEOF PEER %zu, *PEER %zu\n", sizeof(peer),
sizeof(*peer));
qmsg->seq = seq;