From 8968f8d55d57a88f2e925d52baf2adced3c3204d Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Fri, 8 Sep 2006 15:31:35 +0100 Subject: [PATCH] ddraw: Cast-qual warning fix. --- dlls/ddraw/texture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/ddraw/texture.c b/dlls/ddraw/texture.c index c3a2717267a..a29b26e4439 100644 --- a/dlls/ddraw/texture.c +++ b/dlls/ddraw/texture.c @@ -262,13 +262,13 @@ static IDirectDrawSurfaceImpl * get_sub_mimaplevel(IDirectDrawSurfaceImpl *tex_ptr) { /* Now go down the mipmap chain to the next surface */ - static const DDSCAPS2 mipmap_caps = { DDSCAPS_MIPMAP | DDSCAPS_TEXTURE, 0, 0, 0 }; + static DDSCAPS2 mipmap_caps = { DDSCAPS_MIPMAP | DDSCAPS_TEXTURE, 0, 0, 0 }; LPDIRECTDRAWSURFACE7 next_level; IDirectDrawSurfaceImpl *surf_ptr; HRESULT hr; hr = IDirectDrawSurface7_GetAttachedSurface(ICOM_INTERFACE(tex_ptr, IDirectDrawSurface7), - (DDSCAPS2 *) &mipmap_caps, &next_level); + &mipmap_caps, &next_level); if (FAILED(hr)) return NULL; surf_ptr = ICOM_OBJECT(IDirectDrawSurfaceImpl, IDirectDrawSurface7, next_level);