mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
misc: make the compiler happy...
The compiler treats uint8_t*[] and uint8_t* differently, use the address of the first element and assign that.
This commit is contained in:
@@ -80,7 +80,7 @@ static struct gsm_bts_model model_nanobts = {
|
||||
|
||||
int bts_model_nanobts_init(void)
|
||||
{
|
||||
model_nanobts.features.data = &model_nanobts._features_data;
|
||||
model_nanobts.features.data = &model_nanobts._features_data[0];
|
||||
model_nanobts.features.data_len = sizeof(model_nanobts._features_data);
|
||||
|
||||
gsm_btsmodel_set_feature(&model_nanobts, BTS_FEAT_GPRS);
|
||||
|
@@ -62,7 +62,7 @@ static struct gsm_bts_model model_bs11 = {
|
||||
|
||||
int bts_model_bs11_init(void)
|
||||
{
|
||||
model_bs11.features.data = &model_bs11._features_data;
|
||||
model_bs11.features.data = &model_bs11._features_data[0];
|
||||
model_bs11.features.data_len = sizeof(model_bs11._features_data);
|
||||
|
||||
gsm_btsmodel_set_feature(&model_bs11, BTS_FEAT_HOPPING);
|
||||
|
Reference in New Issue
Block a user