diff --git a/src/gprs_rlcmac.cpp b/src/gprs_rlcmac.cpp index a827d363..956d52fc 100644 --- a/src/gprs_rlcmac.cpp +++ b/src/gprs_rlcmac.cpp @@ -84,7 +84,7 @@ extern void *tall_pcu_ctx; * TRX in case of existing TBF for TLLI in the other direction. */ /* search for free TFI and return TFI, TRX and first TS */ int tfi_alloc(enum gprs_rlcmac_tbf_direction dir, uint8_t *_trx, uint8_t *_ts, - uint8_t use_trx, uint8_t first_ts) + int8_t use_trx, int8_t first_ts) { struct gprs_rlcmac_bts *bts = gprs_rlcmac_bts; struct gprs_rlcmac_pdch *pdch; diff --git a/src/gprs_rlcmac.h b/src/gprs_rlcmac.h index 27933bde..6bdef6be 100644 --- a/src/gprs_rlcmac.h +++ b/src/gprs_rlcmac.h @@ -229,7 +229,7 @@ struct gprs_rlcmac_paging { }; int tfi_alloc(enum gprs_rlcmac_tbf_direction dir, uint8_t *_trx, uint8_t *_ts, - uint8_t use_trx, uint8_t first_ts); + int8_t use_trx, int8_t first_ts); struct gprs_rlcmac_tbf *tbf_alloc(struct gprs_rlcmac_tbf *old_tbf, enum gprs_rlcmac_tbf_direction dir, uint8_t tfi, uint8_t trx,