[libosmocore] 01/03: Third attempt of fixing the big-endian issue
Ruben Undheim
rubund-guest at moszumanska.debian.org
Tue Dec 8 20:18:24 UTC 2015
This is an automated email from the git hooks/post-receive script.
rubund-guest pushed a commit to branch master
in repository libosmocore.
commit 22c488b367a2c931bd1df8f1f3152308bf1e1805
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date: Tue Dec 8 21:14:37 2015 +0100
Third attempt of fixing the big-endian issue
---
include/osmocom/gsm/protocol/gsm_03_41.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/osmocom/gsm/protocol/gsm_03_41.h b/include/osmocom/gsm/protocol/gsm_03_41.h
index e4c077c..40051cd 100644
--- a/include/osmocom/gsm/protocol/gsm_03_41.h
+++ b/include/osmocom/gsm/protocol/gsm_03_41.h
@@ -24,10 +24,10 @@ struct gsm341_ms_message {
uint8_t update:4;
uint8_t code_lo:4;
#else
- uint8_t code_lo:4;
- uint8_t update:4;
uint8_t gs:2;
uint8_t code_hi:6;
+ uint8_t code_lo:4;
+ uint8_t update:4;
#endif
} serial;
uint16_t msg_id;
@@ -63,12 +63,12 @@ struct gsm341_etws_message {
uint8_t update:4;
uint8_t code_lo:4;
#else
- uint8_t code_lo:4;
- uint8_t update:4;
uint8_t gs:2;
uint8_t alert:1;
uint8_t popup:1;
uint8_t code_hi:4;
+ uint8_t code_lo:4;
+ uint8_t update:4;
#endif
} serial;
uint16_t msg_id;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libosmocore.git
More information about the debian-science-commits
mailing list