diff options
Diffstat (limited to 'src/common/l1sap.c')
-rw-r--r-- | src/common/l1sap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c index 8029c88e..dba08dfb 100644 --- a/src/common/l1sap.c +++ b/src/common/l1sap.c @@ -149,7 +149,7 @@ static uint32_t fn_ms_adj(uint32_t fn, const struct gsm_lchan *lchan) /*! limit number of queue entries to %u; drops any surplus messages */ static void queue_limit_to(const char *prefix, struct llist_head *queue, unsigned int limit) { - int count = llist_count(queue); + unsigned int count = llist_count(queue); if (count > limit) LOGP(DL1P, LOGL_NOTICE, "%s: freeing %d queued frames\n", prefix, count-limit); |