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.
This commit is contained in:
Harald Welte 2008-12-28 16:36:11 +00:00
parent b9ddfd09e8
commit 104604e10a
1 changed files with 2 additions and 2 deletions

View File

@ -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)