summaryrefslogtreecommitdiff
path: root/src/lib/libssl/pqueue.c
diff options
context:
space:
mode:
authortb <>2025-05-04 10:47:02 +0000
committertb <>2025-05-04 10:47:02 +0000
commit22ec584fb73b85c9becb0fb799e459cc1972f677 (patch)
treeafd95e64d1e1a46752229fa82cb9cfd78dffe105 /src/lib/libssl/pqueue.c
parent08bcfcbc2c4b233a4604e2f883624f517d4bb468 (diff)
downloadopenbsd-22ec584fb73b85c9becb0fb799e459cc1972f677.tar.gz
openbsd-22ec584fb73b85c9becb0fb799e459cc1972f677.tar.bz2
openbsd-22ec584fb73b85c9becb0fb799e459cc1972f677.zip
const correct first argument of pitem_new()
Makes upcoming changes in regress less ugly.
Diffstat (limited to 'src/lib/libssl/pqueue.c')
-rw-r--r--src/lib/libssl/pqueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/pqueue.c b/src/lib/libssl/pqueue.c
index 602969deb0..580b878534 100644
--- a/src/lib/libssl/pqueue.c
+++ b/src/lib/libssl/pqueue.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: pqueue.c,v 1.5 2014/06/12 15:49:31 deraadt Exp $ */ 1/* $OpenBSD: pqueue.c,v 1.6 2025/05/04 10:47:02 tb Exp $ */
2/* 2/*
3 * DTLS implementation written by Nagendra Modadugu 3 * DTLS implementation written by Nagendra Modadugu
4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. 4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
@@ -68,7 +68,7 @@ typedef struct _pqueue {
68} pqueue_s; 68} pqueue_s;
69 69
70pitem * 70pitem *
71pitem_new(unsigned char *prio64be, void *data) 71pitem_new(const unsigned char *prio64be, void *data)
72{ 72{
73 pitem *item = malloc(sizeof(pitem)); 73 pitem *item = malloc(sizeof(pitem));
74 74