fixeria has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-pcu/+/39698?usp=email )
Change subject: tests/alloc: alloc_tbfs(): fix always true condition
......................................................................
tests/alloc: alloc_tbfs(): fix always true condition
Change-Id: Ia345938512a2f4f92523596beb19d7c127a8a601
---
M tests/alloc/AllocTest.cpp
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/98/39698/1
diff --git a/tests/alloc/AllocTest.cpp b/tests/alloc/AllocTest.cpp
index 8d833f5..e841662 100644
--- a/tests/alloc/AllocTest.cpp
+++ b/tests/alloc/AllocTest.cpp
@@ -515,7 +515,7 @@
static GprsMs *alloc_tbfs(struct gprs_rlcmac_bts *bts, struct GprsMs *old_ms, enum
test_mode mode)
{
struct GprsMs *ms, *new_ms;
- uint8_t trx_no = -1;
+ int trx_no = -1;
OSMO_ASSERT(old_ms != NULL);
--
To view, visit
https://gerrit.osmocom.org/c/osmo-pcu/+/39698?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Ia345938512a2f4f92523596beb19d7c127a8a601
Gerrit-Change-Number: 39698
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>