summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 80b541584d..7bba458218 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -684,7 +684,7 @@ static char *validate_group(char *group, DATA_BLOB password,int snum)
}
list_len++;
- member_list = SMB_MALLOC(list_len);
+ member_list = (char *)SMB_MALLOC(list_len);
if (!member_list) {
endgrent();
return NULL;