Commit 5117af69 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

comctl32/tests: Use BOOL type where appropriate.

parent 85aa34ee
...@@ -61,7 +61,7 @@ static void test_get_set_text(void) ...@@ -61,7 +61,7 @@ static void test_get_set_text(void)
DestroyWindow(hwnd); DestroyWindow(hwnd);
} }
static int init(void) static BOOL init(void)
{ {
HMODULE hComctl32; HMODULE hComctl32;
BOOL (WINAPI *pInitCommonControlsEx)(const INITCOMMONCONTROLSEX*); BOOL (WINAPI *pInitCommonControlsEx)(const INITCOMMONCONTROLSEX*);
...@@ -72,7 +72,7 @@ static int init(void) ...@@ -72,7 +72,7 @@ static int init(void)
if (!pInitCommonControlsEx) if (!pInitCommonControlsEx)
{ {
win_skip("InitCommonControlsEx() is missing.\n"); win_skip("InitCommonControlsEx() is missing.\n");
return 0; return FALSE;
} }
iccex.dwSize = sizeof(iccex); iccex.dwSize = sizeof(iccex);
...@@ -80,7 +80,7 @@ static int init(void) ...@@ -80,7 +80,7 @@ static int init(void)
iccex.dwICC = ICC_INTERNET_CLASSES; iccex.dwICC = ICC_INTERNET_CLASSES;
pInitCommonControlsEx(&iccex); pInitCommonControlsEx(&iccex);
return 1; return TRUE;
} }
START_TEST(ipaddress) START_TEST(ipaddress)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment