Commit c4530c56 authored by Rico Schüller's avatar Rico Schüller Committed by Alexandre Julliard

d3dcompiler: Remove type cast in D3DCreateBlob().

parent 670f0efe
...@@ -161,9 +161,9 @@ HRESULT WINAPI D3DCreateBlob(SIZE_T data_size, ID3DBlob **blob) ...@@ -161,9 +161,9 @@ HRESULT WINAPI D3DCreateBlob(SIZE_T data_size, ID3DBlob **blob)
return hr; return hr;
} }
*blob = (ID3DBlob *)object; *blob = &object->ID3DBlob_iface;
TRACE("Created ID3DBlob %p\n", object); TRACE("Created ID3DBlob %p\n", *blob);
return S_OK; return S_OK;
} }
......
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