Fix an implicit cast warning.
authorMichael Adam <obnox@samba.org>
Thu, 15 Nov 2007 23:34:37 +0000 (00:34 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 15 Nov 2007 23:45:59 +0000 (00:45 +0100)
Michael
(This used to be commit 4ab3b23a630e822e3fdf1ab4d08330625b0e4fb6)

source3/smbd/password.c

index 80b541584d67e04fbd518b6117accbf691fd5a94..7bba458218d7c1a6882d6c4c43ca60bb3351c6f8 100644 (file)
@@ -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;