1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-28 09:49:30 +03:00

r8606: BUG 2899: fix compiler warning in regfio routine

(This used to be commit d6b1f695a0)
This commit is contained in:
Gerald Carter
2005-07-19 14:51:20 +00:00
committed by Gerald (Jerry) Carter
parent 7a51eb50d4
commit 6ac01319b4

View File

@ -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) ));