[AMSTREAM_WINETEST] Sync with Wine Staging 2.9. CORE-13362
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 3 Jun 2017 18:37:13 +0000 (18:37 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 3 Jun 2017 18:37:13 +0000 (18:37 +0000)
svn path=/trunk/; revision=74786

rostests/winetests/amstream/amstream.c

index 0da89fb..c343a04 100644 (file)
@@ -579,7 +579,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);