diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:08 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:08 +0000 |
commit | 7566abd1b06e1b046ff2e814fd03584eb4cf33a6 (patch) | |
tree | c0a0355046a033a882439d4d7dd8693119f812b7 /src/misc.c | |
parent | 407a45a3b73a6c776dc47ce69cea5f1611a0f3eb (diff) |
Various g++ fixes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1178 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/misc.c')
-rw-r--r-- | src/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.c b/src/misc.c index d71270fd1..f63e30b65 100644 --- a/src/misc.c +++ b/src/misc.c @@ -1222,7 +1222,7 @@ char **buildStringList(char *src, int *number) do { if (s) { i++; - list = realloc(list, sizeof(char *) * i); + list = (char **)realloc(list, sizeof(char *) * i); list[i - 1] = sstrdup(s); } } while ((s = strtok(NULL, " "))); |