From cc41cb07e78bebe51e553eacc50e69ac3eb08153 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 7 Jan 2010 14:52:35 +0100 Subject: [bssap] More brown paper... Make variables really signed -1 is assigned in case the variables are not set. This means it must be a signed type (as the comment says), now really use a signed type. --- openbsc/include/openbsc/gsm_data.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbsc') diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index 7d5e50277..eec189ac5 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -595,8 +595,8 @@ struct gsm_network { } rrlp; /* a hack for On Waves. It must be signed */ - u_int32_t core_country_code; - u_int32_t core_network_code; + int32_t core_country_code; + int32_t core_network_code; }; #define SMS_HDR_SIZE 128 -- cgit v1.2.3