From 0691ed55cade8093213db38555edb536ee0c557d Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 17 Aug 2006 11:54:23 +0000 Subject: r17584: Some C++ Warnings (This used to be commit f6194cf4b263454bbdf180a7d014ffc3498df497) --- source3/auth/auth_script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/auth/auth_script.c') 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; } -- cgit