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:
committed by
Gerald (Jerry) Carter
parent
7a51eb50d4
commit
6ac01319b4
@ -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) ));
|
||||
|
Reference in New Issue
Block a user