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 | d73f104182c4964409f98f176a66d6a73ea2b7e1 (patch) | |
tree | 2666d131c6f8c2e7e88b084e17657e85547b99d1 /src/memoserv.c | |
parent | 12ef623e94b5b1e668739c083eab3e045cf0b3f3 (diff) |
Fix for g++
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1176 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/memoserv.c')
-rw-r--r-- | src/memoserv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/memoserv.c b/src/memoserv.c index c55f9633f..d0c48a4e7 100644 --- a/src/memoserv.c +++ b/src/memoserv.c @@ -256,7 +256,7 @@ void memo_send(User * u, char *name, char *text, int z) } else { u->lastmemosend = now; mi->memocount++; - mi->memos = srealloc(mi->memos, sizeof(Memo) * mi->memocount); + mi->memos = (Memo *)srealloc(mi->memos, sizeof(Memo) * mi->memocount); m = &mi->memos[mi->memocount - 1]; strscpy(m->sender, source, NICKMAX); m->moduleData = NULL; @@ -293,7 +293,7 @@ void memo_send(User * u, char *name, char *text, int z) int i; for (i = 0; i < nc->aliases.count; i++) { - na = nc->aliases.list[i]; + na = (NickAlias *)nc->aliases.list[i]; if (na->u && nick_identified(na->u)) notice_lang(s_MemoServ, na->u, MEMO_NEW_MEMO_ARRIVED, source, |