Stefan Sperling has uploaded this change for review. ( 
https://gerrit.osmocom.org/11862


Change subject: fix a format string directives in queue_seqset()
......................................................................

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
---
M gtp/queue.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/62/11862/1

diff --git a/gtp/queue.c b/gtp/queue.c
index 82cd7b4..2a780f5 100644
--- a/gtp/queue.c
+++ b/gtp/queue.c
@@ -79,7 +79,7 @@
        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 %zd, *PEER %zd\n", sizeof(peer),
                       sizeof(*peer));

        qmsg->seq = seq;

--
To view, visit https://gerrit.osmocom.org/11862
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I889019aad963932fdc032421e60a72c809a93bca
Gerrit-Change-Number: 11862
Gerrit-PatchSet: 1
Gerrit-Owner: Stefan Sperling <[email protected]>

Reply via email to