s3: Fix incompatible type warnings
[amitay/samba.git] / source3 / rpc_server / srv_eventlog_lib.c
index edd1cfacb829a1fe9638a646656a87b852cccd2d..f83c4fc3b83fa868cd5a2a101b771c9873cb060d 100644 (file)
@@ -936,7 +936,7 @@ NTSTATUS evlog_tdb_entry_to_evt_entry(TALLOC_CTX *mem_ctx,
                size_t len;
                if (!convert_string_talloc(mem_ctx, CH_UTF16, CH_UNIX,
                                           t->sid.data, t->sid.length,
-                                          &sid_str, &len, false)) {
+                                          (void **)&sid_str, &len, false)) {
                        return NT_STATUS_INVALID_SID;
                }
                if (len > 0) {