r3876: fix compiler warnings
authorStefan Metzmacher <metze@samba.org>
Fri, 19 Nov 2004 15:43:35 +0000 (15:43 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:06:00 +0000 (13:06 -0500)
metze

source/auth/auth.c

index cd59190a42e7ed9a8d5f133dcdb3f1546133b3c5..1254e26a73ea90ce3a5e97a4fc510918616735d1 100644 (file)
@@ -89,7 +89,7 @@ static const uint8_t *get_ntlm_challenge(struct auth_context *auth_context)
        
        DEBUG(5, ("auth_context challenge created by %s\n", challenge_set_by));
        DEBUG(5, ("challenge is: \n"));
-       dump_data(5, (const char *)auth_context->challenge.data, auth_context->challenge.length);
+       dump_data(5, auth_context->challenge.data, auth_context->challenge.length);
        
        SMB_ASSERT(auth_context->challenge.length == 8);
 
@@ -188,7 +188,7 @@ static NTSTATUS check_ntlm_password(struct auth_context *auth_context,
                                        auth_context->challenge_set_by));
 
        DEBUG(10, ("challenge is: \n"));
-       dump_data(5, (const char *)auth_context->challenge.data, auth_context->challenge.length);
+       dump_data(5, auth_context->challenge.data, auth_context->challenge.length);
 
 #ifdef DEBUG_PASSWORD
        DEBUG(100, ("user_info has passwords of length %d and %d\n",