svn commit: samba r13709 - in branches/SAMBA_4_0/source/torture/rpc: .

metze at samba.org metze at samba.org
Mon Feb 27 10:14:11 GMT 2006


Author: metze
Date: 2006-02-27 10:14:11 +0000 (Mon, 27 Feb 2006)
New Revision: 13709

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13709

Log:
fix compiler warnings

metze
Modified:
   branches/SAMBA_4_0/source/torture/rpc/samlogon.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/samlogon.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/samlogon.c	2006-02-27 09:57:14 UTC (rev 13708)
+++ branches/SAMBA_4_0/source/torture/rpc/samlogon.c	2006-02-27 10:14:11 UTC (rev 13709)
@@ -861,7 +861,7 @@
 				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 @@
 			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");



More information about the samba-cvs mailing list