r13709: fix compiler warnings
authorStefan Metzmacher <metze@samba.org>
Mon, 27 Feb 2006 10:14:11 +0000 (10:14 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:52:07 +0000 (13:52 -0500)
metze
(This used to be commit 291da7bac3e8707009b239bd3c8b0a0d14f54481)

source4/torture/rpc/samlogon.c

index 03bec56ab634c03f8ca97adcd13ee282711a326e..4dfba4a9fc61761bdc807caadc6b528157f90282 100644 (file)
@@ -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");