summaryrefslogtreecommitdiff
path: root/source3/utils/ntlm_auth.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-11-06 22:11:08 +0000
committerTim Potter <tpot@samba.org>2003-11-06 22:11:08 +0000
commit9f154119e8788e9c3525b0a61c64326abd35bdf6 (patch)
tree414bdc61c7c31ec78380466cab989a1c2b814bd3 /source3/utils/ntlm_auth.c
parent75b246906323a9c6dba6c73041882d4ddebe7577 (diff)
downloadsamba-9f154119e8788e9c3525b0a61c64326abd35bdf6.tar.gz
samba-9f154119e8788e9c3525b0a61c64326abd35bdf6.tar.bz2
samba-9f154119e8788e9c3525b0a61c64326abd35bdf6.zip
Final round of printf warnings fixes for the moment.
(This used to be commit 0519a7022b4979c0e8ddd4907f4b858a59299c06)
Diffstat (limited to 'source3/utils/ntlm_auth.c')
-rw-r--r--source3/utils/ntlm_auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c
index 7cd7e0b087..13b9550347 100644
--- a/source3/utils/ntlm_auth.c
+++ b/source3/utils/ntlm_auth.c
@@ -1984,8 +1984,8 @@ enum {
if ((challenge_len = strhex_to_str(challenge,
strlen(hex_challenge),
hex_challenge)) != 8) {
- x_fprintf(x_stderr, "hex decode of %s failed (only got %u bytes)!\n",
- hex_challenge, challenge_len);
+ x_fprintf(x_stderr, "hex decode of %s failed (only got %lu bytes)!\n",
+ hex_challenge, (unsigned long)challenge_len);
exit(1);
}
opt_challenge = data_blob(challenge, challenge_len);