summaryrefslogtreecommitdiff
path: root/src/core/ns_identify.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ns_identify.c')
-rw-r--r--src/core/ns_identify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ns_identify.c b/src/core/ns_identify.c
index cbeb7705e..c0de8bf0e 100644
--- a/src/core/ns_identify.c
+++ b/src/core/ns_identify.c
@@ -108,7 +108,7 @@ int do_identify(User * u)
if (na->last_usermask)
free(na->last_usermask);
na->last_usermask =
- scalloc(strlen(common_get_vident(u)) +
+ (char *)scalloc(strlen(common_get_vident(u)) +
strlen(common_get_vhost(u)) + 2, 1);
sprintf(na->last_usermask, "%s@%s", common_get_vident(u),
common_get_vhost(u));