r3900: fix compiler warning
authorStefan Metzmacher <metze@samba.org>
Mon, 22 Nov 2004 07:56:13 +0000 (07:56 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:06:03 +0000 (13:06 -0500)
metze
(This used to be commit f2ff50dfc40f7bf329ab83eefcc2cff9e575a84e)

source4/libcli/util/smbencrypt.c

index ba89000c6c043b0e12e46db771c08c3eba09e6dd..f0ff3ee08de4db060c2fc46aeef005777f7cf1ec 100644 (file)
@@ -374,7 +374,7 @@ static DATA_BLOB LMv2_generate_response(const uint8_t ntlm_v2_hash[16],
        return final_response;
 }
 
-BOOL SMBNTLMv2encrypt_hash(const char *user, const char *domain, const char nt_hash[16],
+BOOL SMBNTLMv2encrypt_hash(const char *user, const char *domain, const uint8_t nt_hash[16],
                           const DATA_BLOB *server_chal, 
                           const DATA_BLOB *names_blob,
                           DATA_BLOB *lm_response, DATA_BLOB *nt_response,