summaryrefslogtreecommitdiff
path: root/src/slist.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:09 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:09 +0000
commitd239984fb4f726d03f0392f84234e18f0344f8a3 (patch)
treeb7ff6b59711cf442ab6d07e8e9dee482cc6ec1df /src/slist.c
parent3e6f3f6b54a0f5810f19eae853893ff8d8a9eb9b (diff)
Various g++ fixes. Compiles, doesn't link.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1180 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/slist.c')
-rw-r--r--src/slist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slist.c b/src/slist.c
index 099a59328..30de938e4 100644
--- a/src/slist.c
+++ b/src/slist.c
@@ -384,7 +384,7 @@ int slist_setcapacity(SList * slist, int16 capacity)
slist->capacity = capacity;
if (slist->capacity)
slist->list =
- srealloc(slist->list, sizeof(void *) * slist->capacity);
+ (void **)srealloc(slist->list, sizeof(void *) * slist->capacity);
else {
free(slist->list);
slist->list = NULL;