comctl32/tests: Use BOOL type where appropriate
Frédéric Delanoy
frederic.delanoy at gmail.com
Thu Nov 7 14:47:29 CST 2013
---
dlls/comctl32/tests/ipaddress.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/comctl32/tests/ipaddress.c b/dlls/comctl32/tests/ipaddress.c
index 4d81acf..093f649 100644
--- a/dlls/comctl32/tests/ipaddress.c
+++ b/dlls/comctl32/tests/ipaddress.c
@@ -61,7 +61,7 @@ static void test_get_set_text(void)
DestroyWindow(hwnd);
}
-static int init(void)
+static BOOL init(void)
{
HMODULE hComctl32;
BOOL (WINAPI *pInitCommonControlsEx)(const INITCOMMONCONTROLSEX*);
@@ -72,7 +72,7 @@ static int init(void)
if (!pInitCommonControlsEx)
{
win_skip("InitCommonControlsEx() is missing.\n");
- return 0;
+ return FALSE;
}
iccex.dwSize = sizeof(iccex);
@@ -80,7 +80,7 @@ static int init(void)
iccex.dwICC = ICC_INTERNET_CLASSES;
pInitCommonControlsEx(&iccex);
- return 1;
+ return TRUE;
}
START_TEST(ipaddress)
--
1.8.4.2
More information about the wine-patches
mailing list