fixeria has uploaded this change for review.

View Change

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 change 39698. To unsubscribe, or for help writing mail filters, visit settings.

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@sysmocom.de>