diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2012-07-25 09:14:09 +0200 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2012-07-25 09:14:09 +0200 |
commit | ba1cd9bbc222bd62a4d1ef4bbb6d380347f04f5f (patch) | |
tree | 41f2bb4a2fa1dddc941411aa9ef2644c470247c0 /src/gprs_rlcmac.cpp | |
parent | 6681bb8d0c847ad59a1e6109689ec322884e8e27 (diff) |
Fixed two issues found by clang, pointed out by Holger
Diffstat (limited to 'src/gprs_rlcmac.cpp')
-rw-r--r-- | src/gprs_rlcmac.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gprs_rlcmac.cpp b/src/gprs_rlcmac.cpp index c9279c5e..a827d363 100644 --- a/src/gprs_rlcmac.cpp +++ b/src/gprs_rlcmac.cpp @@ -370,7 +370,7 @@ int alloc_algorithm_b(struct gprs_rlcmac_tbf *old_tbf, uint8_t tx_win_min, tx_win_max, tx_range; uint8_t rx_window = 0, tx_window = 0; const char *digit[10] = { "0","1","2","3","4","5","6","7","8","9" }; - uint8_t usf[8]; + int8_t usf[8] = { -1, -1, -1, -1, -1, -1, -1, -1 }; /* must be signed */ int8_t tsc = -1; /* must be signed */ uint8_t i, ts; |