Merge commit 'f2699501bc20a1dc5ee965ca1cbb8f18a3471ff8'
[osmocom-bb.git] / src / shared / libosmocore / src / gsm / sysinfo.c
index 0dbff3a..9df1887 100644 (file)
@@ -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,