aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/oml.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-01-17 21:04:54 +0100
committerHarald Welte <laforge@gnumonks.org>2016-01-17 21:10:09 +0100
commit3d431bb4eb2eec62174719daab6ec9a178299fc9 (patch)
treec7edafd49e8c939382b23b1c871f736ff574811a /src/common/oml.c
parent5e8d8a1e75959141d643c84cf061032f9469be0a (diff)
Fix T200 default values
t200_ms is an unsigned int [7] array, while the oml_default_t200_ms was an uint8_t[7] array, which we memcpy() to the former as default initializer. Fix this by turning oml_default_t200_ms into unsigned int, too.
Diffstat (limited to 'src/common/oml.c')
-rw-r--r--src/common/oml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/oml.c b/src/common/oml.c
index ef1bea3d..35973d7b 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -393,7 +393,7 @@ static const uint8_t abis_nm_t200_mult[] = {
/* the below defaults correpsond to the libocmocore default of 1s for
* DCCH and 2s for ACCH. The BSC should overried this via OML anyway. */
-const uint8_t oml_default_t200_ms[7] = {
+const unsigned int oml_default_t200_ms[7] = {
[T200_SDCCH] = 1000/5,
[T200_FACCH_F] = 1000/5,
[T200_FACCH_H] = 1000/5,