[2/2] gdi32/tests: Use BOOL type where appropriate
Frédéric Delanoy
frederic.delanoy at gmail.com
Wed Nov 6 14:21:09 CST 2013
---
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));
--
1.8.4.2
More information about the wine-patches
mailing list