diff --git a/dlls/d3d8/tests/surface.c b/dlls/d3d8/tests/surface.c index 4cb2350bc5e..4980a412abd 100644 --- a/dlls/d3d8/tests/surface.c +++ b/dlls/d3d8/tests/surface.c @@ -256,7 +256,7 @@ static void test_lockrect_invalid(IDirect3DDevice8 *device) IDirect3DSurface8_Release(surface); } -static unsigned long getref(IUnknown *iface) +static ULONG getref(IUnknown *iface) { IUnknown_AddRef(iface); return IUnknown_Release(iface);