summaryrefslogtreecommitdiffstats
path: root/StringUtils.c
diff options
context:
space:
mode:
Diffstat (limited to 'StringUtils.c')
-rw-r--r--StringUtils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/StringUtils.c b/StringUtils.c
index 54a61584..ec123e9f 100644
--- a/StringUtils.c
+++ b/StringUtils.c
@@ -55,7 +55,7 @@ inline int String_eq(const char* s1, const char* s2) {
char** String_split(const char* s, char sep, int* n) {
*n = 0;
const int rate = 10;
- char** out = calloc(rate, sizeof(char**));
+ char** out = calloc(rate, sizeof(char*));
int ctr = 0;
int blocks = rate;
char* where;