r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4
[nivanova/samba-autobuild/.git] / source3 / auth / auth.c
index 92c90b62410577c615b5daf007a9fafd5a4d2c97..df7d6fc9c60a638f15d3ad9e83a7b72165daba9f 100644 (file)
@@ -237,9 +237,9 @@ static NTSTATUS check_ntlm_password(const struct auth_context *auth_context,
        DEBUG(100, ("user_info has passwords of length %d and %d\n", 
                    (int)user_info->lm_resp.length, (int)user_info->nt_resp.length));
        DEBUG(100, ("lm:\n"));
-       dump_data(100, user_info->lm_resp.data, user_info->lm_resp.length);
+       dump_data(100, (const char *)user_info->lm_resp.data, user_info->lm_resp.length);
        DEBUG(100, ("nt:\n"));
-       dump_data(100, user_info->nt_resp.data, user_info->nt_resp.length);
+       dump_data(100, (const char *)user_info->nt_resp.data, user_info->nt_resp.length);
 #endif
 
        /* This needs to be sorted:  If it doesn't match, what should we do? */