diff options
author | Matt Caswell <matt@openssl.org> | 2016-11-04 10:26:57 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-11-04 12:09:46 +0000 |
commit | c42a78cb57cd335f3e2b224d4d8c8d7c2ecfaa44 (patch) | |
tree | ea478d4ecc372a6accc6c206fe9e3c8146d72a37 /ssl/pqueue.c | |
parent | ff04799d904ec2bfcfc3a3ca656549db2dec9068 (diff) | |
download | openssl-c42a78cb57cd335f3e2b224d4d8c8d7c2ecfaa44.tar.gz |
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>
Diffstat (limited to 'ssl/pqueue.c')
-rw-r--r-- | ssl/pqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
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++; |