diff options
Diffstat (limited to 'lib/libssl/pqueue.c')
-rw-r--r-- | lib/libssl/pqueue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/pqueue.c b/lib/libssl/pqueue.c index af8530064fe..d1c258a1791 100644 --- a/lib/libssl/pqueue.c +++ b/lib/libssl/pqueue.c @@ -70,7 +70,7 @@ typedef struct _pqueue { pitem * pitem_new(unsigned char *prio64be, void *data) { - pitem *item = (pitem *)malloc(sizeof(pitem)); + pitem *item = malloc(sizeof(pitem)); if (item == NULL) return NULL; @@ -92,7 +92,7 @@ pitem_free(pitem *item) pqueue_s * pqueue_new(void) { - return (pqueue_s *)calloc(1, sizeof(pqueue_s)); + return calloc(1, sizeof(pqueue_s)); } void |