From d5beaae0b82e7877c657c308b2969824cdc27fd1 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 27 Feb 2006 10:14:11 +0000 Subject: r13709: fix compiler warnings metze (This used to be commit 291da7bac3e8707009b239bd3c8b0a0d14f54481) --- source4/torture/rpc/samlogon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture/rpc') diff --git a/source4/torture/rpc/samlogon.c b/source4/torture/rpc/samlogon.c index 03bec56ab6..4dfba4a9fc 100644 --- a/source4/torture/rpc/samlogon.c +++ b/source4/torture/rpc/samlogon.c @@ -861,7 +861,7 @@ static BOOL test_lmv2_ntlm_broken(struct samlogon_state *samlogon_state, pass = False; } } else { - static const char zeros[8]; + static const uint8_t zeros[8]; if (memcmp(zeros, lm_session_key, sizeof(lm_session_key)) != 0) { printf("LM Session Key does not match expectations (zeros)!\n"); @@ -1111,7 +1111,7 @@ static BOOL test_ntlm2(struct samlogon_state *samlogon_state, char **error_strin pass = False; } } else { - static const char zeros[8]; + static const uint8_t zeros[8]; if (memcmp(zeros, lm_key, sizeof(lm_key)) != 0) { printf("LM Session Key does not match expectations (zeros)!\n"); -- cgit