svn commit: samba r3963 - in branches/SAMBA_4_0/source/utils: .

metze at samba.org metze at samba.org
Thu Nov 25 19:01:35 GMT 2004


Author: metze
Date: 2004-11-25 19:01:35 +0000 (Thu, 25 Nov 2004)
New Revision: 3963

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

Log:
fix conpiler warnings

metze

Modified:
   branches/SAMBA_4_0/source/utils/ndrdump.c


Changeset:
Modified: branches/SAMBA_4_0/source/utils/ndrdump.c
===================================================================
--- branches/SAMBA_4_0/source/utils/ndrdump.c	2004-11-25 18:25:22 UTC (rev 3962)
+++ branches/SAMBA_4_0/source/utils/ndrdump.c	2004-11-25 19:01:35 UTC (rev 3963)
@@ -75,7 +75,7 @@
 	const struct dcerpc_interface_table *p;
 	const struct dcerpc_interface_call *f;
 	const char *pipe_name, *function, *inout, *filename;
-	char *data;
+	uint8_t *data;
 	size_t size;
 	DATA_BLOB blob;
 	struct ndr_pull *ndr;
@@ -158,7 +158,7 @@
 			exit(1);
 		}
 			
-		data = file_load(ctx_filename, &size);
+		data = (uint8_t *)file_load(ctx_filename, &size);
 		if (!data) {
 			perror(ctx_filename);
 			exit(1);
@@ -181,7 +181,7 @@
 		}
 	} 
 
-	data = file_load(filename, &size);
+	data = (uint8_t *)file_load(filename, &size);
 	if (!data) {
 		perror(filename);
 		exit(1);



More information about the samba-cvs mailing list