From 869c0c2e552cc5019531229e366a022f6ede0557 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 3 Jan 2018 12:00:36 +0100 Subject: 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 --- src/tbf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tbf.h') diff --git a/src/tbf.h b/src/tbf.h index 40ed9742..4a304afe 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; -- cgit v1.2.3