svn commit: samba r11277 - in branches/SAMBA_4_0/source/torture/auth: .

metze at samba.org metze at samba.org
Mon Oct 24 15:27:59 GMT 2005


Author: metze
Date: 2005-10-24 15:27:59 +0000 (Mon, 24 Oct 2005)
New Revision: 11277

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

Log:
fix compiler warning

metze
Modified:
   branches/SAMBA_4_0/source/torture/auth/pac.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/auth/pac.c
===================================================================
--- branches/SAMBA_4_0/source/torture/auth/pac.c	2005-10-24 15:16:47 UTC (rev 11276)
+++ branches/SAMBA_4_0/source/torture/auth/pac.c	2005-10-24 15:27:59 UTC (rev 11277)
@@ -357,7 +357,7 @@
 
 	pac_file = lp_parm_string(-1,"torture","pac_file");
 	if (pac_file) {
-		tmp_blob.data = file_load(pac_file, &tmp_blob.length, mem_ctx);
+		tmp_blob.data = (uint8_t *)file_load(pac_file, &tmp_blob.length, mem_ctx);
 		printf("(saved test) Loaded pac of size %d from %s\n", tmp_blob.length, pac_file);
 	} else {
 		tmp_blob = data_blob(saved_pac, sizeof(saved_pac));



More information about the samba-cvs mailing list