Michael Stefaniuc : amstream/tests: Use SetRectEmpty() instead of memset() .
Alexandre Julliard
julliard at winehq.org
Wed Apr 19 14:49:38 CDT 2017
Module: wine
Branch: master
Commit: 0e0cc67c5aa69140a672bfc4942a1b91f4a683d8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0e0cc67c5aa69140a672bfc4942a1b91f4a683d8
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Mon Apr 17 21:42:00 2017 +0200
amstream/tests: Use SetRectEmpty() instead of memset().
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/amstream/tests/amstream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/amstream/tests/amstream.c b/dlls/amstream/tests/amstream.c
index a7999be..c08f989 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);
More information about the wine-cvs
mailing list