diff --git a/dlls/amstream/tests/amstream.c b/dlls/amstream/tests/amstream.c index a7999be9ee3..c08f98985be 100644 --- a/dlls/amstream/tests/amstream.c +++ b/dlls/amstream/tests/amstream.c @@ -572,7 +572,7 @@ static void test_IDirectDrawStreamSample(void) EXPECT_REF(surface, 2); surface2 = NULL; - memset(&rect, 0, sizeof(rect)); + SetRectEmpty(&rect); hr = IDirectDrawStreamSample_GetSurface(pddsample, &surface2, &rect); ok(hr == S_OK, "got 0x%08x\n", hr); ok(surface == surface2, "got %p\n", surface2);