From da32ddc1fe4ecb51b67ca5ea40ff285050cb3d92 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Thu, 29 Dec 2022 13:42:15 -0800 Subject: [PATCH] sparse SingleLinkedList_new_int: remove unnecessary cast --- lib/sparse/LinkedList.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sparse/LinkedList.c b/lib/sparse/LinkedList.c index 6827263c3..84917f613 100644 --- a/lib/sparse/LinkedList.c +++ b/lib/sparse/LinkedList.c @@ -21,7 +21,7 @@ SingleLinkedList SingleLinkedList_new(void *data){ SingleLinkedList SingleLinkedList_new_int(int i){ int *data = gv_alloc(sizeof(int)); data[0] = i; - return SingleLinkedList_new((void*) data); + return SingleLinkedList_new(data); } -- 2.50.1