summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-02-27 10:14:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:07 -0500
commitd5beaae0b82e7877c657c308b2969824cdc27fd1 (patch)
tree347e9f9d2beca57ce073d9324352fad9da0e88e1
parent6236e5cabc7b08849e43b25203702e82c9a63dea (diff)
downloadsamba-d5beaae0b82e7877c657c308b2969824cdc27fd1.tar.gz
samba-d5beaae0b82e7877c657c308b2969824cdc27fd1.tar.bz2
samba-d5beaae0b82e7877c657c308b2969824cdc27fd1.zip
r13709: fix compiler warnings
metze (This used to be commit 291da7bac3e8707009b239bd3c8b0a0d14f54481)
-rw-r--r--source4/torture/rpc/samlogon.c4
1 files changed, 2 insertions, 2 deletions
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");