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 | 12ef623e94b5b1e668739c083eab3e045cf0b3f3 (patch) | |
tree | eec11262ea3e3b44e10258adbfae28d77f3e6339 /src/mail.c | |
parent | 115136b09e4e367cd475bffa35deb49a2deb242e (diff) |
Partial fixes for g++, need to commit this
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1175 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/mail.c')
-rw-r--r-- | src/mail.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mail.c b/src/mail.c index 04b54cf49..408243cc4 100644 --- a/src/mail.c +++ b/src/mail.c @@ -44,7 +44,7 @@ MailInfo *MailRegBegin(User * u, NickRequest * nr, char *subject, } else { MailInfo *mail; - mail = scalloc(sizeof(MailInfo), 1); + mail = (MailInfo *)scalloc(sizeof(MailInfo), 1); mail->sender = u; mail->recipient = NULL; mail->recip = nr; @@ -97,7 +97,7 @@ MailInfo *MailBegin(User * u, NickCore * nc, char *subject, char *service) } else { MailInfo *mail; - mail = scalloc(sizeof(MailInfo), 1); + mail = (MailInfo *)scalloc(sizeof(MailInfo), 1); mail->sender = u; mail->recipient = nc; mail->recip = NULL; @@ -142,7 +142,7 @@ MailInfo *MailMemoBegin(NickCore * nc) } else { MailInfo *mail; - mail = scalloc(sizeof(MailInfo), 1); + mail = (MailInfo *)scalloc(sizeof(MailInfo), 1); mail->sender = NULL; mail->recipient = nc; mail->recip = NULL; |