path: root/src/tbf.h
diff options
authorMax <msuraev@sysmocom.de>2018-01-03 12:00:36 +0100
committerMax <msuraev@sysmocom.de>2018-01-03 12:00:36 +0100
commit869c0c2e552cc5019531229e366a022f6ede0557 (patch)
tree60e4aa325c895dd71e4c3ea26ce31597873df11b /src/tbf.h
parent0bc982e7142426c1739eae5cd636ff5bd3c8d872 (diff)
Fix llc_queue_size() type
It either returns 0 or LLC queue size() which has size_t return type. This means it can never be negative - hence it's better to use size_t as return type. Change-Id: I2a6e849d349ab12854976bd0d68537a370a9c83d Fixes: CID181478
Diffstat (limited to 'src/tbf.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tbf.h b/src/tbf.h
index 40ed974..4a304af 100644
--- a/src/tbf.h
+++ b/src/tbf.h
@@ -228,7 +228,7 @@ struct gprs_rlcmac_tbf {
uint8_t ms_class() const;
void set_ms_class(uint8_t);
GprsCodingScheme current_cs() const;
- int llc_queue_size() const;
+ size_t llc_queue_size() const;
time_t created_ts() const;
uint8_t dl_slots() const;