summaryrefslogtreecommitdiff
path: root/src/core/hs_setall.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
commit29aea837f59c17fad0dc6020a488124f3ea7d630 (patch)
tree94701c01ec03db1a096e4f457fa9601891321ca7 /src/core/hs_setall.c
parent1e918b949ce6d96b7f294f659d907546e5d60e44 (diff)
Various strict fixes..
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1185 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/hs_setall.c')
-rw-r--r--src/core/hs_setall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hs_setall.c b/src/core/hs_setall.c
index 9f355b1f7..bd398823e 100644
--- a/src/core/hs_setall.c
+++ b/src/core/hs_setall.c
@@ -71,9 +71,9 @@ void myHostServHelp(User * u)
int do_setall(User * u)
{
- char *nick = strtok(NULL, " ");
+ char *nick = (char *)strtok(NULL, " ");
char *rawhostmask = strtok(NULL, " ");
- char *hostmask = smalloc(HOSTMAX);
+ char *hostmask = (char *)smalloc(HOSTMAX);
NickAlias *na;
int32 tmp_time;