From 309ce743767d321565d8c63f0d78563154db3cd9 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Tue, 7 Aug 2012 15:31:16 +0200 Subject: Fix: tfi_alloc() has some signed attributes --- src/gprs_rlcmac.cpp | 2 +- src/gprs_rlcmac.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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, -- cgit v1.2.3