commit | c42a78cb57cd335f3e2b224d4d8c8d7c2ecfaa44 | [log] [tgz] |
---|---|---|
author | Matt Caswell <matt@openssl.org> | Fri Nov 04 10:26:57 2016 +0000 |
committer | Matt Caswell <matt@openssl.org> | Fri Nov 04 12:09:46 2016 +0000 |
tree | ea478d4ecc372a6accc6c206fe9e3c8146d72a37 | |
parent | ff04799d904ec2bfcfc3a3ca656549db2dec9068 [diff] [blame] |
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 <rsalz@openssl.org>
diff --git a/ssl/pqueue.c b/ssl/pqueue.c index 9ff4132..7e0ced9 100644 --- a/ssl/pqueue.c +++ b/ssl/pqueue.c
@@ -144,7 +144,7 @@ size_t pqueue_size(pqueue *pq) { pitem *item = pq->items; - int count = 0; + size_t count = 0; while (item != NULL) { count++;