projects
/
osmocom-bb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit '163d0ea85b99a2c581b1f861bf9445a9a14bfc6f'
[osmocom-bb.git]
/
src
/
shared
/
libosmocore
/
src
/
gsm48.c
diff --git
a/src/shared/libosmocore/src/gsm48.c
b/src/shared/libosmocore/src/gsm48.c
index
e0cba15
..
783ff6a
100644
(file)
--- a/
src/shared/libosmocore/src/gsm48.c
+++ b/
src/shared/libosmocore/src/gsm48.c
@@
-263,12
+263,13
@@
int gsm48_generate_mid_from_imsi(uint8_t *buf, const char *imsi)
}
/* Convert Mobile Identity (10.5.1.4) to string */
}
/* Convert Mobile Identity (10.5.1.4) to string */
-int gsm48_mi_to_string(char *string, const int str_len, const u_int8_t *mi, const int mi_len)
+int gsm48_mi_to_string(char *string, const int str_len, const uint8_t *mi,
+ const int mi_len)
{
int i;
{
int i;
- u
_
int8_t mi_type;
+ uint8_t mi_type;
char *str_cur = string;
char *str_cur = string;
- u
_
int32_t tmsi;
+ uint32_t tmsi;
mi_type = mi[0] & GSM_MI_TYPE_MASK;
mi_type = mi[0] & GSM_MI_TYPE_MASK;