<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-iuh/+/22170">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">tests/hnb-test: Fix signedness of imsi_buf<br><br>Change-Id: I3b0a6218ac6242d03642972d5b244815ce9d97a0<br>---<br>M src/tests/hnb-test.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/osmo-iuh refs/changes/70/22170/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/tests/hnb-test.c b/src/tests/hnb-test.c</span><br><span>index 4b726fa..6b9985f 100644</span><br><span>--- a/src/tests/hnb-test.c</span><br><span>+++ b/src/tests/hnb-test.c</span><br><span>@@ -112,7 +112,7 @@</span><br><span>        struct msgb *msg;</span><br><span>    int rc, imsi_len;</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-   char imsi_buf[16];</span><br><span style="color: hsl(120, 100%, 40%);">+    uint8_t imsi_buf[16];</span><br><span> </span><br><span>    UERegisterRequest_t request_out;</span><br><span>     UERegisterRequestIEs_t request;</span><br><span>@@ -121,7 +121,7 @@</span><br><span>        request.uE_Identity.present = UE_Identity_PR_iMSI;</span><br><span> </span><br><span>       imsi_len = ranap_imsi_encode(imsi_buf, sizeof(imsi_buf), imsi_str);</span><br><span style="color: hsl(0, 100%, 40%);">-     OCTET_STRING_fromBuf(&request.uE_Identity.choice.iMSI, imsi_buf, imsi_len);</span><br><span style="color: hsl(120, 100%, 40%);">+       OCTET_STRING_fromBuf(&request.uE_Identity.choice.iMSI, (const char*)imsi_buf, imsi_len);</span><br><span> </span><br><span>     request.registration_Cause = Registration_Cause_normal;</span><br><span>      request.uE_Capabilities.access_stratum_release_indicator = Access_stratum_release_indicator_rel_6;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-iuh/+/22170">change 22170</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/osmo-iuh/+/22170"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-iuh </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I3b0a6218ac6242d03642972d5b244815ce9d97a0 </div>
<div style="display:none"> Gerrit-Change-Number: 22170 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>