This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/16089 )
Change subject: mobile/gsm48_mm.h: use fixed-size integer types in packed structures
......................................................................
mobile/gsm48_mm.h: use fixed-size integer types in packed structures
Change-Id: I54ed93c03ebe776bdc7eb761a8194da3ab0b67fb
---
M src/host/layer23/include/osmocom/bb/mobile/gsm48_mm.h
1 file changed, 2 insertions(+), 3 deletions(-)
Approvals:
Jenkins Builder: Verified
pespin: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
diff --git a/src/host/layer23/include/osmocom/bb/mobile/gsm48_mm.h b/src/host/layer23/include/osmocom/bb/mobile/gsm48_mm.h
index 09d18ed..bf3aa25 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/gsm48_mm.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/gsm48_mm.h
@@ -55,7 +55,7 @@
/* MMxx-SAP header */
struct gsm48_mmxx_hdr {
- int msg_type; /* MMxx_* primitive */
+ uint16_t msg_type; /* MMxx_* primitive */
uint32_t ref; /* reference to transaction */
uint32_t transaction_id; /* transaction identifier */
uint8_t sapi; /* sapi */
@@ -71,8 +71,7 @@
/* MMR-SAP header */
struct gsm48_mmr {
- int msg_type;
-
+ uint8_t msg_type;
uint8_t cause;
} __attribute__((packed));
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/16089
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I54ed93c03ebe776bdc7eb761a8194da3ab0b67fb
Gerrit-Change-Number: 16089
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191120/c0026651/attachment.htm>