Commit c38b2a56 authored by Lionel Gauthier's avatar Lionel Gauthier

Sebastian Held patches15/0017-wrong-assertion-array-is-of-type-uint16_t.patch

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7319 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 2bee2349
...@@ -1211,10 +1211,10 @@ void rx_prach(PHY_VARS_eNB *phy_vars_eNB,uint8_t subframe,uint16_t *preamble_ene ...@@ -1211,10 +1211,10 @@ void rx_prach(PHY_VARS_eNB *phy_vars_eNB,uint8_t subframe,uint16_t *preamble_ene
if (prach_fmt<4) { if (prach_fmt<4) {
// prach_root_sequence_map points to prach_root_sequence_map0_3 // prach_root_sequence_map points to prach_root_sequence_map0_3
DevAssert( index < sizeof(prach_root_sequence_map0_3) ); DevAssert( index < sizeof(prach_root_sequence_map0_3) / sizeof(prach_root_sequence_map0_3[0]) );
} else { } else {
// prach_root_sequence_map points to prach_root_sequence_map4 // prach_root_sequence_map points to prach_root_sequence_map4
DevAssert( index < sizeof(prach_root_sequence_map4) ); DevAssert( index < sizeof(prach_root_sequence_map4) / sizeof(prach_root_sequence_map4[0]) );
} }
u = prach_root_sequence_map[index]; u = prach_root_sequence_map[index];
...@@ -1564,10 +1564,10 @@ void compute_prach_seq(PRACH_CONFIG_COMMON *prach_config_common, ...@@ -1564,10 +1564,10 @@ void compute_prach_seq(PRACH_CONFIG_COMMON *prach_config_common,
if (prach_fmt<4) { if (prach_fmt<4) {
// prach_root_sequence_map points to prach_root_sequence_map0_3 // prach_root_sequence_map points to prach_root_sequence_map0_3
DevAssert( index < sizeof(prach_root_sequence_map0_3) ); DevAssert( index < sizeof(prach_root_sequence_map0_3) / sizeof(prach_root_sequence_map0_3[0]) );
} else { } else {
// prach_root_sequence_map points to prach_root_sequence_map4 // prach_root_sequence_map points to prach_root_sequence_map4
DevAssert( index < sizeof(prach_root_sequence_map4) ); DevAssert( index < sizeof(prach_root_sequence_map4) / sizeof(prach_root_sequence_map4[0]) );
} }
u = prach_root_sequence_map[index]; u = prach_root_sequence_map[index];
...@@ -1611,10 +1611,10 @@ void compute_prach_seq(PRACH_CONFIG_COMMON *prach_config_common, ...@@ -1611,10 +1611,10 @@ void compute_prach_seq(PRACH_CONFIG_COMMON *prach_config_common,
if (prach_fmt<4) { if (prach_fmt<4) {
// prach_root_sequence_map points to prach_root_sequence_map0_3 // prach_root_sequence_map points to prach_root_sequence_map0_3
DevAssert( index < sizeof(prach_root_sequence_map0_3) ); DevAssert( index < sizeof(prach_root_sequence_map0_3) / sizeof(prach_root_sequence_map0_3[0]) );
} else { } else {
// prach_root_sequence_map points to prach_root_sequence_map4 // prach_root_sequence_map points to prach_root_sequence_map4
DevAssert( index < sizeof(prach_root_sequence_map4) ); DevAssert( index < sizeof(prach_root_sequence_map4) / sizeof(prach_root_sequence_map4[0]) );
} }
u = prach_root_sequence_map[index]; u = prach_root_sequence_map[index];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment