aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2008-12-28 16:36:11 +0000
committerHarald Welte <laforge@gnumonks.org>2008-12-28 16:36:11 +0000
commit104604e10a870a36a89644f0894a6613c32959f0 (patch)
treed99a0bc0628b178749f4e89f26bbd7fb8ce20036 /src
parentb9ddfd09e83533a60659367ed13a3671a4ed2018 (diff)
Fix compile, on rebase the static_assert change got lost...
at the beginning we had l2 pseudo length in type5 and type6 messages as well but that got removed.
Diffstat (limited to 'src')
-rw-r--r--src/bsc_hack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bsc_hack.c b/src/bsc_hack.c
index 145b552da..5d8912478 100644
--- a/src/bsc_hack.c
+++ b/src/bsc_hack.c
@@ -545,8 +545,8 @@ static_assert(sizeof(si1) == sizeof(struct gsm48_system_information_type_1), typ
static_assert(sizeof(si2) == sizeof(struct gsm48_system_information_type_2), type2)
static_assert(sizeof(si3) == sizeof(struct gsm48_system_information_type_3), type3)
static_assert(sizeof(si4) >= sizeof(struct gsm48_system_information_type_4), type4)
-static_assert(sizeof(si5) == sizeof(struct gsm48_system_information_type_5)-1, type5)
-static_assert(sizeof(si6) >= sizeof(struct gsm48_system_information_type_6)-1, type6)
+static_assert(sizeof(si5) == sizeof(struct gsm48_system_information_type_5), type5)
+static_assert(sizeof(si6) >= sizeof(struct gsm48_system_information_type_6), type6)
/* set all system information types */
static int set_system_infos(struct gsm_bts *bts)