From 213b20bec0dfb69c9196f551071bf85b445c080e Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Tue, 2 Jun 2009 03:24:54 +0000 Subject: [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. --- include/openbsc/gsm_subscriber.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/openbsc/gsm_subscriber.h b/include/openbsc/gsm_subscriber.h index 46b674b1f..2b2766d43 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; -- cgit v1.2.3