Commit 06a66688 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

net: Use BOOL type where appropriate.

parent 70205f58
......@@ -235,7 +235,7 @@ static BOOL StopService(SC_HANDLE SCManager, SC_HANDLE serviceHandle)
static BOOL net_service(int operation, const WCHAR* service_name)
{
SC_HANDLE SCManager, serviceHandle;
BOOL result = 0;
BOOL result = FALSE;
WCHAR service_display_name[4096];
DWORD buffer_size;
......@@ -288,7 +288,7 @@ static BOOL net_service(int operation, const WCHAR* service_name)
return result;
}
static int arg_is(const WCHAR* str1, const WCHAR* str2)
static BOOL arg_is(const WCHAR* str1, const WCHAR* str2)
{
return CompareStringW(LOCALE_USER_DEFAULT, NORM_IGNORECASE, str1, -1, str2, -1) == CSTR_EQUAL;
}
......
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