<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmocom-bb/+/16089">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mobile/gsm48_mm.h: use fixed-size integer types in packed structures<br><br>Change-Id: I54ed93c03ebe776bdc7eb761a8194da3ab0b67fb<br>---<br>M src/host/layer23/include/osmocom/bb/mobile/gsm48_mm.h<br>1 file changed, 2 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/89/16089/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/host/layer23/include/osmocom/bb/mobile/gsm48_mm.h b/src/host/layer23/include/osmocom/bb/mobile/gsm48_mm.h</span><br><span>index 09d18ed..bf3aa25 100644</span><br><span>--- a/src/host/layer23/include/osmocom/bb/mobile/gsm48_mm.h</span><br><span>+++ b/src/host/layer23/include/osmocom/bb/mobile/gsm48_mm.h</span><br><span>@@ -55,7 +55,7 @@</span><br><span> </span><br><span> /* MMxx-SAP header */</span><br><span> struct gsm48_mmxx_hdr {</span><br><span style="color: hsl(0, 100%, 40%);">- int             msg_type; /* MMxx_* primitive */</span><br><span style="color: hsl(120, 100%, 40%);">+      uint16_t        msg_type; /* MMxx_* primitive */</span><br><span>     uint32_t        ref; /* reference to transaction */</span><br><span>  uint32_t        transaction_id; /* transaction identifier */</span><br><span>         uint8_t         sapi; /* sapi */</span><br><span>@@ -71,8 +71,7 @@</span><br><span> </span><br><span> /* MMR-SAP header */</span><br><span> struct gsm48_mmr {</span><br><span style="color: hsl(0, 100%, 40%);">-  int             msg_type;</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(120, 100%, 40%);">+     uint8_t         msg_type;</span><br><span>    uint8_t         cause;</span><br><span> } __attribute__((packed));</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmocom-bb/+/16089">change 16089</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/osmocom-bb/+/16089"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmocom-bb </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I54ed93c03ebe776bdc7eb761a8194da3ab0b67fb </div>
<div style="display:none"> Gerrit-Change-Number: 16089 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>