=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: comctl32/tests: Use BOOL type where appropriate.
Alexandre Julliard
julliard at winehq.org
Fri Nov 8 10:36:49 CST 2013
Module: wine
Branch: master
Commit: 5117af69a75bf201b47a1e617165a8de57916bd6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5117af69a75bf201b47a1e617165a8de57916bd6
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Thu Nov 7 21:47:29 2013 +0100
comctl32/tests: Use BOOL type where appropriate.
---
dlls/comctl32/tests/ipaddress.c | 6 +++---
1 files 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)
More information about the wine-cvs
mailing list