aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-01-07 14:52:35 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-01-07 14:52:35 +0100
commitcc41cb07e78bebe51e553eacc50e69ac3eb08153 (patch)
tree2d2e410bbc36a000fdf27c3dc3a234bfbebf3ee4
parentd6fb23523acd423e2d5735f3efdf479ebb8b1f8b (diff)
[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.
-rw-r--r--openbsc/include/openbsc/gsm_data.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index 7d5e5027..eec189ac 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