From: Matt Caswell Date: Fri, 4 Nov 2016 10:26:57 +0000 (+0000) Subject: Fix a missed size_t variable declaration X-Git-Tag: OpenSSL_1_1_1-pre1~3188 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c42a78cb57cd335f3e2b224d4d8c8d7c2ecfaa44;p=oweals%2Fopenssl.git 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 --- 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++;