Commit c9c74b8b authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

include: Fix D3DXF_FILELOADMEMORY definition.

parent 0dbca580
......@@ -588,7 +588,7 @@ static HRESULT WINAPI d3dx9_file_CreateEnumObject(ID3DXFile *iface, const void *
{
D3DXF_FILELOADMEMORY *memory = (D3DXF_FILELOADMEMORY*)source;
dxfile_memory.lpMemory = memory->lpMemory;
dxfile_memory.lpMemory = (void *)memory->lpMemory;
dxfile_memory.dSize = memory->dSize;
dxfile_source = &dxfile_memory;
dxfile_options = DXFILELOAD_FROMMEMORY;
......
......@@ -49,7 +49,7 @@ typedef struct _D3DXF_FILELOADRESOURCE
typedef struct _D3DXF_FILELOADMEMORY
{
void *lpMemory;
const void *lpMemory;
SIZE_T dSize;
} D3DXF_FILELOADMEMORY;
......
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