summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-07-19 14:51:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:12 -0500
commit6ac01319b4c60136e9f794c1eca983f549a80ac1 (patch)
treebc3d849a7d788d7b9c697bedeeec6fc696067859 /source3
parent7a51eb50d4b78c16306e7f7539fd0d92ebfc012c (diff)
downloadsamba-6ac01319b4c60136e9f794c1eca983f549a80ac1.tar.gz
samba-6ac01319b4c60136e9f794c1eca983f549a80ac1.tar.bz2
samba-6ac01319b4c60136e9f794c1eca983f549a80ac1.zip
r8606: BUG 2899: fix compiler warning in regfio routine
(This used to be commit d6b1f695a0baf2042ce121702cdcbbf59e94bd94)
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/regfio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/regfio.c b/source3/registry/regfio.c
index 041db19f27..b99a954897 100644
--- a/source3/registry/regfio.c
+++ b/source3/registry/regfio.c
@@ -89,7 +89,7 @@ static int read_block( REGF_FILE *file, prs_struct *ps, uint32 file_offset, uint
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) ));