From 3dbe0f9a826369983720be420cdfa1c25276c28a Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Tue, 20 Jan 2009 10:00:20 +0100 Subject: [PATCH] d3d10core: Remove a superfluous pointer cast. --- dlls/d3d10core/d3d10core_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/d3d10core/d3d10core_main.c b/dlls/d3d10core/d3d10core_main.c index ba4cba5d503..273f15d6632 100644 --- a/dlls/d3d10core/d3d10core_main.c +++ b/dlls/d3d10core/d3d10core_main.c @@ -80,7 +80,7 @@ static HRESULT WINAPI layer_create(enum dxgi_device_layer_id id, void **layer_ba return E_NOTIMPL; } - object = (struct d3d10_device *)*layer_base; + object = *layer_base; object->vtbl = &d3d10_device_vtbl; object->inner_unknown_vtbl = &d3d10_device_inner_unknown_vtbl;