aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/gsm_subscriber.h
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2009-06-02 03:24:54 +0000
committerHolger Freyther <zecke@selfish.org>2009-06-02 03:24:54 +0000
commit213b20bec0dfb69c9196f551071bf85b445c080e (patch)
tree2541289121b7621fbb0dba97754431e530d61311 /include/openbsc/gsm_subscriber.h
parentf7b2a0ec7f35244850fcd02755f87b4e91d46206 (diff)
[subscriber] Change id to long long unsigned int (Andreas Eversberg)
Changes the subscriber id type defintion from "long unsigned int" to "long long unsigned int". Without, printf with '%llu' caused a crash.
Diffstat (limited to 'include/openbsc/gsm_subscriber.h')
-rw-r--r--include/openbsc/gsm_subscriber.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openbsc/gsm_subscriber.h b/include/openbsc/gsm_subscriber.h
index 46b674b1..2b2766d4 100644
--- a/include/openbsc/gsm_subscriber.h
+++ b/include/openbsc/gsm_subscriber.h
@@ -12,7 +12,7 @@
#define GSM_EXTENSION_LENGTH 128
struct gsm_subscriber {
- long unsigned int id;
+ long long unsigned int id;
char imsi[GSM_IMSI_LENGTH];
char tmsi[GSM_TMSI_LENGTH];
u_int16_t lac;