summaryrefslogtreecommitdiffstats
path: root/src/gsm/sysinfo.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2011-06-13 19:15:50 +0200
committerPablo Neira Ayuso <pablo@gnumonks.org>2011-06-13 19:15:50 +0200
commit139e12782c5cbbcb31ac89a1c59d8d5b4215ebf5 (patch)
tree512522b15278a9a979beaf70b6882470ce1e7e10 /src/gsm/sysinfo.c
parent4761ba9d33a61cb654d45c0e9037b30a77e3f94a (diff)
parentee50081daa3a80586f3044056517337a8e8fac9f (diff)
Merge branch 'master' of git.osmocom.org:libosmocore
Diffstat (limited to 'src/gsm/sysinfo.c')
-rw-r--r--src/gsm/sysinfo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gsm/sysinfo.c b/src/gsm/sysinfo.c
index 0dbff3ae..9df18877 100644
--- a/src/gsm/sysinfo.c
+++ b/src/gsm/sysinfo.c
@@ -23,7 +23,6 @@
#include <errno.h>
#include <string.h>
#include <stdio.h>
-#include <netinet/in.h>
#include <osmocom/core/bitvec.h>
#include <osmocom/core/utils.h>
@@ -71,7 +70,7 @@ static const uint8_t sitype2rsl[_MAX_SYSINFO_TYPE] = {
[SYSINFO_TYPE_5ter] = RSL_SYSTEM_INFO_5ter,
};
-static const uint8_t rsl2sitype[0xff] = {
+static const uint8_t rsl2sitype[256] = {
[RSL_SYSTEM_INFO_1] = SYSINFO_TYPE_1,
[RSL_SYSTEM_INFO_2] = SYSINFO_TYPE_2,
[RSL_SYSTEM_INFO_3] = SYSINFO_TYPE_3,