From 1e918b949ce6d96b7f294f659d907546e5d60e44 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Tue, 30 Sep 2008 18:45:09 +0000 Subject: Various constification/g++ fixes.. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1184 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/cs_identify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/cs_identify.c') diff --git a/src/core/cs_identify.c b/src/core/cs_identify.c index bde224a4a..1ca12d75c 100644 --- a/src/core/cs_identify.c +++ b/src/core/cs_identify.c @@ -91,7 +91,7 @@ int do_identify(User * u) if ((res = enc_check_password(pass, ci->founderpass)) == 1) { if (!is_identified(u, ci)) { - uc = scalloc(sizeof(*uc), 1); + uc = (struct u_chaninfolist *)scalloc(sizeof(*uc), 1); uc->next = u->founder_chans; if (u->founder_chans) u->founder_chans->prev = uc; -- cgit