tests/alloc: fix implicit conversion from 'double' to 'int8_t'

Looks pretty much like a typo. Both '-1' and '.' symbols are
neighbours in QWERTZ keyboard layout, so it must be -1.

Found by Clang [-Wliteral-conversion].

Change-Id: Id4eb2dcc3b44e18096c7b94efb7260e2400c596b
This commit is contained in:
Vadim Yanitskiy 2020-01-25 05:14:13 +07:00
parent f6b83a24a3
commit 9f62b92258
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ static inline bool test_alloc_b_jolly(uint8_t ms_class)
tfi = the_bts.tfi_find_free(GPRS_RLCMAC_UL_TBF, &trx_no, -1);
OSMO_ASSERT(tfi >= 0);
ul_tbf = tbf_alloc_ul_tbf(bts, NULL, .1, ms_class, 0, false);
ul_tbf = tbf_alloc_ul_tbf(bts, NULL, -1, ms_class, 0, false);
if (!ul_tbf)
return false;