summaryrefslogtreecommitdiff
path: root/source3/auth/auth_script.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-08-17 11:54:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:41 -0500
commit0691ed55cade8093213db38555edb536ee0c557d (patch)
treed4c196a01a7d5851f365940c77a8d3813e9db811 /source3/auth/auth_script.c
parentaa2138ed5badedc5754978b61db1042617857690 (diff)
downloadsamba-0691ed55cade8093213db38555edb536ee0c557d.tar.gz
samba-0691ed55cade8093213db38555edb536ee0c557d.tar.bz2
samba-0691ed55cade8093213db38555edb536ee0c557d.zip
r17584: Some C++ Warnings
(This used to be commit f6194cf4b263454bbdf180a7d014ffc3498df497)
Diffstat (limited to 'source3/auth/auth_script.c')
-rw-r--r--source3/auth/auth_script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_script.c b/source3/auth/auth_script.c
index ec7264924c..70c906d942 100644
--- a/source3/auth/auth_script.c
+++ b/source3/auth/auth_script.c
@@ -69,7 +69,7 @@ static NTSTATUS script_check_user_credentials(const struct auth_context *auth_co
48 + 1 + /* 24 bytes of challenge going to 48 */
48 + 1;
- secret_str = malloc(secret_str_len);
+ secret_str = (char *)malloc(secret_str_len);
if (!secret_str) {
return NT_STATUS_NO_MEMORY;
}