summaryrefslogtreecommitdiff
path: root/src/core/hs_set.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hs_set.c')
-rw-r--r--src/core/hs_set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hs_set.c b/src/core/hs_set.c
index d236830d0..3bace055e 100644
--- a/src/core/hs_set.c
+++ b/src/core/hs_set.c
@@ -71,7 +71,7 @@ int myDoSet(User * u)
{
char *nick = strtok(NULL, " ");
char *rawhostmask = strtok(NULL, " ");
- char *hostmask = smalloc(HOSTMAX);
+ char *hostmask = (char *)smalloc(HOSTMAX);
NickAlias *na;
int32 tmp_time;