summaryrefslogtreecommitdiff
path: root/source4/auth/auth.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-11-19 15:43:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:00 -0500
commitb307f188258e5a6991856e1b1f7f72f77007a36b (patch)
tree65645a63d9db412760439d697961ed77c922e530 /source4/auth/auth.c
parentc20a32675237b7e64e7aebbbde79e1994ac5269d (diff)
downloadsamba-b307f188258e5a6991856e1b1f7f72f77007a36b.tar.gz
samba-b307f188258e5a6991856e1b1f7f72f77007a36b.tar.bz2
samba-b307f188258e5a6991856e1b1f7f72f77007a36b.zip
r3876: fix compiler warnings
metze (This used to be commit 9ad3837dbad6dbf5ee0122be2bbffac325ece9be)
Diffstat (limited to 'source4/auth/auth.c')
-rw-r--r--source4/auth/auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/auth.c b/source4/auth/auth.c
index cd59190a42..1254e26a73 100644
--- a/source4/auth/auth.c
+++ b/source4/auth/auth.c
@@ -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",