mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-ggsn.git
synced 2025-10-23 08:22:07 +00:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user