summaryrefslogtreecommitdiffstats
path: root/source/auth
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
commitf6194cf4b263454bbdf180a7d014ffc3498df497 (patch)
treead381b0f79d68ea9cb89206eeeae98b1cd7fc913 /source/auth
parent990da03f0940371d20f89c145b7ebdbe8e9bf4c4 (diff)
downloadsamba-f6194cf4b263454bbdf180a7d014ffc3498df497.tar.gz
samba-f6194cf4b263454bbdf180a7d014ffc3498df497.tar.xz
samba-f6194cf4b263454bbdf180a7d014ffc3498df497.zip
r17584: Some C++ Warnings
Diffstat (limited to 'source/auth')
-rw-r--r--source/auth/auth_script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/auth/auth_script.c b/source/auth/auth_script.c
index ec7264924cd..70c906d942a 100644
--- a/source/auth/auth_script.c
+++ b/source/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;
}