summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:08 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:08 +0000
commit7566abd1b06e1b046ff2e814fd03584eb4cf33a6 (patch)
treec0a0355046a033a882439d4d7dd8693119f812b7 /src/misc.c
parent407a45a3b73a6c776dc47ce69cea5f1611a0f3eb (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.c2
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, " ")));