summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_eventlog_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_eventlog_lib.c b/source3/rpc_server/srv_eventlog_lib.c
index aa75fb1b46..8cbb319e9b 100644
--- a/source3/rpc_server/srv_eventlog_lib.c
+++ b/source3/rpc_server/srv_eventlog_lib.c
@@ -715,7 +715,7 @@ bool parse_logentry( char *line, Eventlog_entry * entry, bool * eor )
if (!entry->data_record.strings) {
return false;
}
- memcpy(entry->data_record.strings + old_len,
+ memcpy(((char *)entry->data_record.strings) + old_len,
temp,
tmp_len);
entry->data_record.strings_len += tmp_len;