diff options
Diffstat (limited to 'src/lib/libssl/pqueue.c')
-rw-r--r-- | src/lib/libssl/pqueue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/pqueue.c b/src/lib/libssl/pqueue.c index af8530064f..d1c258a179 100644 --- a/src/lib/libssl/pqueue.c +++ b/src/lib/libssl/pqueue.c | |||
@@ -70,7 +70,7 @@ typedef struct _pqueue { | |||
70 | pitem * | 70 | pitem * |
71 | pitem_new(unsigned char *prio64be, void *data) | 71 | pitem_new(unsigned char *prio64be, void *data) |
72 | { | 72 | { |
73 | pitem *item = (pitem *)malloc(sizeof(pitem)); | 73 | pitem *item = malloc(sizeof(pitem)); |
74 | 74 | ||
75 | if (item == NULL) | 75 | if (item == NULL) |
76 | return NULL; | 76 | return NULL; |
@@ -92,7 +92,7 @@ pitem_free(pitem *item) | |||
92 | pqueue_s * | 92 | pqueue_s * |
93 | pqueue_new(void) | 93 | pqueue_new(void) |
94 | { | 94 | { |
95 | return (pqueue_s *)calloc(1, sizeof(pqueue_s)); | 95 | return calloc(1, sizeof(pqueue_s)); |
96 | } | 96 | } |
97 | 97 | ||
98 | void | 98 | void |