aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2012-08-07 15:31:16 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2012-08-07 15:31:16 +0200
commit309ce743767d321565d8c63f0d78563154db3cd9 (patch)
tree1995a777e306c4bd6191deb02df9e21fae22c32b /src
parent14db19ed11d38f0d6f08bb1d6139b7b90f4fdc37 (diff)
Fix: tfi_alloc() has some signed attributes
Diffstat (limited to 'src')
-rw-r--r--src/gprs_rlcmac.cpp2
-rw-r--r--src/gprs_rlcmac.h2
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,