From 50af4a381c33f435983d826c46b6664cc2998018 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 15 Jan 2001 20:20:50 +0000 Subject: [PATCH] Fixed an interface cast in DD2->DD7 thunk. --- dlls/ddraw/ddraw/thunks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ddraw/ddraw/thunks.c b/dlls/ddraw/ddraw/thunks.c index 7a47feb7c78..ad00db24b7a 100644 --- a/dlls/ddraw/ddraw/thunks.c +++ b/dlls/ddraw/ddraw/thunks.c @@ -216,7 +216,7 @@ IDirectDraw2Impl_CreateSurface(LPDIRECTDRAW2 This, LPDDSURFACEDESC pSDesc, /* the LPDDSURFACEDESC -> LPDDSURFACEDESC2 conversion should be ok, * since the data layout is the same */ hr = IDirectDraw7_CreateSurface(COM_INTERFACE_CAST(IDirectDrawImpl, - IDirectDraw, + IDirectDraw2, IDirectDraw7, This), (LPDDSURFACEDESC2)pSDesc, &pSurface7, pUnkOuter);