aboutsummaryrefslogtreecommitdiff
path: root/crypto/pqueue/pqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/pqueue/pqueue.c')
-rw-r--r--crypto/pqueue/pqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pqueue/pqueue.c b/crypto/pqueue/pqueue.c
index d66efe1..1378abc 100644
--- a/crypto/pqueue/pqueue.c
+++ b/crypto/pqueue/pqueue.c
@@ -91,7 +91,7 @@ pqueue_s *pqueue_new()
if (pq == NULL)
return NULL;
- memset(pq, 0x00, sizeof(pqueue_s));
+ memset(pq, 0, sizeof(*pq));
return pq;
}