<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmo-sccp/+/24330">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">VTY: write_one_asp(): fix 1 << 31 cannot be represented by 'int'<br><br>Change-Id: Ib144df42baed16aeffa5b56afd0c17960ee6004e<br>Closes: OS#5158<br>---<br>M src/osmo_ss7_vty.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/30/24330/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/osmo_ss7_vty.c b/src/osmo_ss7_vty.c</span><br><span>index dcbe9b2..63625a8 100644</span><br><span>--- a/src/osmo_ss7_vty.c</span><br><span>+++ b/src/osmo_ss7_vty.c</span><br><span>@@ -857,8 +857,8 @@</span><br><span>    }</span><br><span>    if (!asp->cfg.is_server)</span><br><span>          vty_out(vty, "  sctp-role client%s", VTY_NEWLINE);</span><br><span style="color: hsl(0, 100%, 40%);">-    for (i = 0; i < 32; i++) {</span><br><span style="color: hsl(0, 100%, 40%);">-           if (!(asp->cfg.quirks & (1 << i)))</span><br><span style="color: hsl(120, 100%, 40%);">+       for (i = 0; i < sizeof(uint32_t) * 8; i++) {</span><br><span style="color: hsl(120, 100%, 40%);">+               if (!(asp->cfg.quirks & ((uint32_t) 1 << i)))</span><br><span>                   continue;</span><br><span>            vty_out(vty, "  quirk %s%s", get_value_string(asp_quirk_names, (1 << i)), VTY_NEWLINE);</span><br><span>      }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmo-sccp/+/24330">change 24330</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/c/libosmo-sccp/+/24330"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmo-sccp </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ib144df42baed16aeffa5b56afd0c17960ee6004e </div>
<div style="display:none"> Gerrit-Change-Number: 24330 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>