summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-11-16 00:34:37 +0100
committerMichael Adam <obnox@samba.org>2007-11-16 00:45:59 +0100
commit3f437f681aa130438774cc5f4b8f16d00b43b377 (patch)
treeb006cec675600bba3ca818cff5affa01d819c5cc
parent68be9a820059ee96dd26c527efd7c14e679d3f2c (diff)
downloadsamba-3f437f681aa130438774cc5f4b8f16d00b43b377.tar.gz
samba-3f437f681aa130438774cc5f4b8f16d00b43b377.tar.bz2
samba-3f437f681aa130438774cc5f4b8f16d00b43b377.zip
Fix an implicit cast warning.
Michael (This used to be commit 4ab3b23a630e822e3fdf1ab4d08330625b0e4fb6)
-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;