Commit 2f7005b6 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Vitaly Lipatov

oleaut32: Avoid implicit cast of interface pointer.

parent 3d6add6b
......@@ -115,7 +115,7 @@ static inline size_t bstr_alloc_size(size_t size)
static inline bstr_t *bstr_from_str(BSTR str)
{
return CONTAINING_RECORD(str, bstr_t, u.str);
return CONTAINING_RECORD((void *)str, bstr_t, u.str);
}
static inline bstr_cache_entry_t *get_cache_entry_from_idx(unsigned cache_idx)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment