=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: gdi32/tests: Use BOOL type where appropriate.

Alexandre Julliard julliard at winehq.org
Thu Nov 7 14:10:03 CST 2013


Module: wine
Branch: master
Commit: 259cb3c8cd8a6f61b71fbb7b5d9f051a9eef79ed
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=259cb3c8cd8a6f61b71fbb7b5d9f051a9eef79ed

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Wed Nov  6 21:21:09 2013 +0100

gdi32/tests: Use BOOL type where appropriate.

---

 dlls/gdi32/tests/mapping.c |    2 +-
 dlls/gdi32/tests/path.c    |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/gdi32/tests/mapping.c b/dlls/gdi32/tests/mapping.c
index 573a97f..b8dd8ee 100644
--- a/dlls/gdi32/tests/mapping.c
+++ b/dlls/gdi32/tests/mapping.c
@@ -513,7 +513,7 @@ static void test_isotropic_mapping(void)
 static void test_setvirtualresolution(void)
 {
     HDC hdc = CreateICA("DISPLAY", NULL, NULL, NULL);
-    DWORD r;
+    BOOL r;
     INT horz_res = GetDeviceCaps(hdc, HORZRES);
     INT horz_size = GetDeviceCaps(hdc, HORZSIZE);
     INT log_pixels_x = GetDeviceCaps(hdc, LOGPIXELSX);
diff --git a/dlls/gdi32/tests/path.c b/dlls/gdi32/tests/path.c
index 8399b19..0b350bc 100644
--- a/dlls/gdi32/tests/path.c
+++ b/dlls/gdi32/tests/path.c
@@ -270,7 +270,8 @@ static void test_widenpath(void)
     HDC hdc = GetDC(0);
     HPEN greenPen, narrowPen;
     POINT pnt[6];
-    INT nSize, ret;
+    INT nSize;
+    BOOL ret;
 
     /* Create a pen to be used in WidenPath */
     greenPen = CreatePen(PS_SOLID, 10, RGB(0,0,0));




More information about the wine-cvs mailing list