aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/bts_ipaccess_nanobts.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-06-21 18:11:37 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-21 18:21:16 +0800
commitc8bf3c178f7f43831cf44a28a10031987f74ba89 (patch)
treee7d582a26983a18aee300c358002535aaccd28ba /openbsc/src/bts_ipaccess_nanobts.c
parentcfa4a01c8fe2b5f2ab1bfa6fcf23c35ff5e957f4 (diff)
misc: make the compiler happy...
The compiler treats uint8_t*[] and uint8_t* differently, use the address of the first element and assign that.
Diffstat (limited to 'openbsc/src/bts_ipaccess_nanobts.c')
-rw-r--r--openbsc/src/bts_ipaccess_nanobts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/bts_ipaccess_nanobts.c b/openbsc/src/bts_ipaccess_nanobts.c
index 92ab41a40..b58d83bd8 100644
--- a/openbsc/src/bts_ipaccess_nanobts.c
+++ b/openbsc/src/bts_ipaccess_nanobts.c
@@ -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);