Michael Stefaniuc : ddraw/tests: Use the proper type for a return value ( PVS-Studio).
Module: wine Branch: master Commit: ad4057803dd23be219f7e1406780e7a6adb937d9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ad4057803dd23be219f7e14067... Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Thu Oct 29 01:01:28 2015 +0100 ddraw/tests: Use the proper type for a return value (PVS-Studio). Signed-off-by: Michael Stefaniuc <mstefani(a)redhat.de> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/ddraw/tests/ddrawmodes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/ddraw/tests/ddrawmodes.c b/dlls/ddraw/tests/ddrawmodes.c index 13e2732..f5b0666 100644 --- a/dlls/ddraw/tests/ddrawmodes.c +++ b/dlls/ddraw/tests/ddrawmodes.c @@ -932,8 +932,8 @@ static void testcooperativelevels_exclusive(void) /* rect_before_create is assumed to hold the screen rect */ GetClientRect(hwnd, &window_rect); - rc = EqualRect(&rect_before_create, &window_rect); - ok(rc, "Fullscreen window has wrong size.\n"); + success = EqualRect(&rect_before_create, &window_rect); + ok(success, "Fullscreen window has wrong size.\n"); /* Set the focus window. Should fail */ rc = IDirectDraw_SetCooperativeLevel(lpDD,
participants (1)
-
Alexandre Julliard