git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a51eb5
)
r8606: BUG 2899: fix compiler warning in regfio routine
author
Gerald Carter
<jerry@samba.org>
Tue, 19 Jul 2005 14:51:20 +0000
(14:51 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:00:12 +0000
(11:00 -0500)
(This used to be commit
d6b1f695a0baf2042ce121702cdcbbf59e94bd94
)
source3/registry/regfio.c
patch
|
blob
|
history
diff --git
a/source3/registry/regfio.c
b/source3/registry/regfio.c
index 041db19f27db284ccb4b1f4bbfe8832e1ff15cd6..b99a954897ab793610075077ad1ac7e8ec08083e 100644
(file)
--- 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) ));