svn commit: samba r8606 - in branches/SAMBA_3_0/source/registry: .

jerry at samba.org jerry at samba.org
Tue Jul 19 14:51:20 GMT 2005


Author: jerry
Date: 2005-07-19 14:51:20 +0000 (Tue, 19 Jul 2005)
New Revision: 8606

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

Log:
BUG 2899: fix compiler warning in regfio routine
Modified:
   branches/SAMBA_3_0/source/registry/regfio.c


Changeset:
Modified: branches/SAMBA_3_0/source/registry/regfio.c
===================================================================
--- branches/SAMBA_3_0/source/registry/regfio.c	2005-07-19 14:51:04 UTC (rev 8605)
+++ branches/SAMBA_3_0/source/registry/regfio.c	2005-07-19 14:51:20 UTC (rev 8606)
@@ -89,7 +89,7 @@
 	   to read some of the header to get the block_size from there */
 	   
 	if ( block_size == 0 ) {
-		uint8 hdr[0x20];
+		char hdr[0x20];
 
 		if ( lseek( file->fd, file_offset, SEEK_SET ) == -1 ) {
 			DEBUG(0,("read_block: lseek() failed! (%s)\n", strerror(errno) ));



More information about the samba-cvs mailing list