From 6ac01319b4c60136e9f794c1eca983f549a80ac1 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 19 Jul 2005 14:51:20 +0000 Subject: r8606: BUG 2899: fix compiler warning in regfio routine (This used to be commit d6b1f695a0baf2042ce121702cdcbbf59e94bd94) --- source3/registry/regfio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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) )); -- cgit