git.samba.org
/
gd
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4
[gd/samba-autobuild/.git]
/
source3
/
registry
/
reg_eventlog.c
diff --git
a/source3/registry/reg_eventlog.c
b/source3/registry/reg_eventlog.c
index 69d8f2f9aab5c56bb4d58825f3fcc33019d1b9e3..61c73abd4b83eab9135d58d368339fb647090b93 100644
(file)
--- a/
source3/registry/reg_eventlog.c
+++ b/
source3/registry/reg_eventlog.c
@@
-226,7
+226,7
@@
BOOL eventlog_add_source( const char *eventlog, const char *sourcename,
already_in = False;
wrklist = NULL;
- dump_data( 1, rval->data_p, rval->size );
+ dump_data( 1,
(const char *)
rval->data_p, rval->size );
if ( ( numsources =
regval_convert_multi_sz( ( uint16 * ) rval->data_p, rval->size,
&wrklist ) ) > 0 ) {