aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Sperling <ssperling@sysmocom.de>2018-11-21 15:54:45 +0100
committerStefan Sperling <ssperling@sysmocom.de>2018-11-22 13:17:18 +0000
commit3730c550cdde89a0c835bd13931480dde2cd8de0 (patch)
treec005027281fa104fc7684046f0bdb3b2ea0a9532
parentcc8181fefeb2717f998fd4db29e8afe12b2bc5c0 (diff)
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
-rw-r--r--gtp/queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtp/queue.c b/gtp/queue.c
index 82cd7b4..ebeebe6 100644
--- a/gtp/queue.c
+++ b/gtp/queue.c
@@ -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;