<p>Stefan Sperling has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11862">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">fix a format string directives in queue_seqset()<br><br>Coverity pointed out that a format string used inappropriate<br>format string directives for variables of type size_t.<br><br>Change-Id: I889019aad963932fdc032421e60a72c809a93bca<br>Related: CID#135197<br>---<br>M gtp/queue.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/62/11862/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/gtp/queue.c b/gtp/queue.c</span><br><span>index 82cd7b4..2a780f5 100644</span><br><span>--- a/gtp/queue.c</span><br><span>+++ b/gtp/queue.c</span><br><span>@@ -79,7 +79,7 @@</span><br><span>         if (QUEUE_DEBUG)</span><br><span>             printf("Begin queue_seqset seq = %d\n", (int)seq);</span><br><span>         if (QUEUE_DEBUG)</span><br><span style="color: hsl(0, 100%, 40%);">-                printf("SIZEOF PEER %d, *PEER %d\n", sizeof(peer),</span><br><span style="color: hsl(120, 100%, 40%);">+          printf("SIZEOF PEER %zd, *PEER %zd\n", sizeof(peer),</span><br><span>                      sizeof(*peer));</span><br><span> </span><br><span>   qmsg->seq = seq;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11862">change 11862</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/11862"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ggsn </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I889019aad963932fdc032421e60a72c809a93bca </div>
<div style="display:none"> Gerrit-Change-Number: 11862 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Stefan Sperling <ssperling@sysmocom.de> </div>