summaryrefslogtreecommitdiff
path: root/source3/lib/account_pol.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/account_pol.c')
-rw-r--r--source3/lib/account_pol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/account_pol.c b/source3/lib/account_pol.c
index 8d844741f5..de5a37aea9 100644
--- a/source3/lib/account_pol.c
+++ b/source3/lib/account_pol.c
@@ -94,7 +94,7 @@ char *account_policy_names_list(void)
len += strlen(account_policy_names[i].string) + 1;
}
len++;
- nl = SMB_MALLOC(len);
+ nl = (char *)SMB_MALLOC(len);
if (!nl) {
return NULL;
}