summaryrefslogtreecommitdiffstats
path: root/StringUtils.c
diff options
context:
space:
mode:
authorMichael McConville <mmcconville ~a~ mykolab ~d~ com>2015-09-18 00:46:48 -0400
committerMichael McConville <mmcconville ~a~ mykolab ~d~ com>2015-09-18 00:46:48 -0400
commita9a5a539cf59cb81d2a3da610b0d1ff56c1247cc (patch)
treeb7ae88ed9c6b4a23d1a3ae79450fb6ea266136e7 /StringUtils.c
parent445222e48c380bbb5d209a82f9614187bc751b41 (diff)
(Very) initial working OpenBSD port
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;

© 2014-2024 Faster IT GmbH | imprint | privacy policy