From c42a78cb57cd335f3e2b224d4d8c8d7c2ecfaa44 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Fri, 4 Nov 2016 10:26:57 +0000 Subject: [PATCH] Fix a missed size_t variable declaration pqueue_size() now returns a size_t, but the variable that gets returned was still declared as an int. Reviewed-by: Rich Salz --- ssl/pqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/pqueue.c b/ssl/pqueue.c index 9ff4132dcc..7e0ced9909 100644 --- a/ssl/pqueue.c +++ b/ssl/pqueue.c @@ -144,7 +144,7 @@ pitem *pqueue_next(pitem **item) size_t pqueue_size(pqueue *pq) { pitem *item = pq->items; - int count = 0; + size_t count = 0; while (item != NULL) { count++; -- 2.25.1