From: Volker Lendecke Date: Thu, 2 Jan 2020 14:02:44 +0000 (+0100) Subject: auth3: Avoid a casts in auth3_check_password() X-Git-Tag: ldb-2.1.0~127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d034e839df0898d9db0dc00c1ccf2f113f1787f1;p=thirdparty%2Fsamba.git auth3: Avoid a casts in auth3_check_password() Signed-off-by: Volker Lendecke Reviewed-by: Gary Lockyer --- diff --git a/source3/auth/auth_ntlmssp.c b/source3/auth/auth_ntlmssp.c index 2e345e17571..8c2e10ce6ec 100644 --- a/source3/auth/auth_ntlmssp.c +++ b/source3/auth/auth_ntlmssp.c @@ -220,15 +220,15 @@ NTSTATUS auth3_check_password(struct auth4_context *auth4_context, * NTLMSSP code will decide on the final correct session key, * and supply it to create_local_token() */ if (session_key) { - DEBUG(10, ("Got NT session key of length %u\n", - (unsigned int)server_info->session_key.length)); + DBG_DEBUG("Got NT session key of length %zu\n", + server_info->session_key.length); *session_key = server_info->session_key; talloc_steal(mem_ctx, server_info->session_key.data); server_info->session_key = data_blob_null; } if (lm_session_key) { - DEBUG(10, ("Got LM session key of length %u\n", - (unsigned int)server_info->lm_session_key.length)); + DBG_DEBUG("Got LM session key of length %zu\n", + server_info->lm_session_key.length); *lm_session_key = server_info->lm_session_key; talloc_steal(mem_ctx, server_info->lm_session_key.data); server_info->lm_session_key = data_blob_null;