projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff04799
)
Fix a missed size_t variable declaration
author
Matt Caswell
<matt@openssl.org>
Fri, 4 Nov 2016 10:26:57 +0000
(10:26 +0000)
committer
Matt Caswell
<matt@openssl.org>
Fri, 4 Nov 2016 12:09:46 +0000
(12:09 +0000)
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>
ssl/pqueue.c
patch
|
blob
|
history
diff --git
a/ssl/pqueue.c
b/ssl/pqueue.c
index 9ff4132dcc6c097cdbeaa874001dbb060fd73b72..7e0ced9909a247e8f8399bdb44116ea456c35fa2 100644
(file)
--- 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;
-
in
t count = 0;
+
size_
t count = 0;
while (item != NULL) {
count++;