Signed-off-by: Pang Yan Han <[email protected]>
---
Pointer sizes are the same but this makes intention clearer.
src/util/pacsort.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/util/pacsort.c b/src/util/pacsort.c
index 109d1a1..48d183b 100644
--- a/src/util/pacsort.c
+++ b/src/util/pacsort.c
@@ -103,7 +103,7 @@ static struct list_t *list_new(size_t initial_size)
return NULL;
}
- list->list = calloc(initial_size, sizeof(char **));
+ list->list = calloc(initial_size, sizeof(char *));
if(!list->list) {
free(list);
return NULL;
--
1.7.6