mscoree: Use BOOL type where appropriate.

This commit is contained in:
Frédéric Delanoy 2013-10-07 22:49:39 +02:00 committed by Alexandre Julliard
parent c388cce8aa
commit 1214fb41dd
2 changed files with 7 additions and 7 deletions

View file

@ -60,7 +60,7 @@ static struct list dll_fixups;
struct dll_fixup
{
struct list entry;
int done;
BOOL done;
HMODULE dll;
void *thunk_code; /* pointer into dll_fixup_heap */
VTableFixup *fixup;
@ -939,7 +939,7 @@ static void CDECL ReallyFixupVTable(struct dll_fixup *fixup)
}
}
fixup->done = 1;
fixup->done = TRUE;
}
if (info != NULL)
@ -972,7 +972,7 @@ static void FixupVTableEntry(HMODULE hmodule, VTableFixup *vtable_fixup)
fixup->thunk_code = HeapAlloc(dll_fixup_heap, 0, sizeof(struct vtable_fixup_thunk) * vtable_fixup->count);
fixup->fixup = vtable_fixup;
fixup->vtable = (BYTE*)hmodule + vtable_fixup->rva;
fixup->done = 0;
fixup->done = FALSE;
if (vtable_fixup->type & COR_VTABLE_32BIT)
{

View file

@ -59,7 +59,7 @@ static struct CLRRuntimeInfo runtimes[NUM_RUNTIMES] = {
{{&CLRRuntimeInfoVtbl}, net_40_subdir, 4, 0, 30319, 0}
};
static int runtimes_initialized;
static BOOL runtimes_initialized = FALSE;
static CRITICAL_SECTION runtime_list_cs;
static CRITICAL_SECTION_DEBUG runtime_list_cs_debug =
@ -818,7 +818,7 @@ static void find_runtimes(void)
runtimes[i].mono_abi_version = -1;
}
runtimes_initialized = 1;
runtimes_initialized = TRUE;
end:
LeaveCriticalSection(&runtime_list_cs);
@ -1335,7 +1335,7 @@ HRESULT get_runtime_info(LPCWSTR exefile, LPCWSTR version, LPCWSTR config_file,
if (config_file)
{
int found=0;
BOOL found = FALSE;
hr = parse_config_file(config_file, &parsed_config);
if (SUCCEEDED(hr))
@ -1346,7 +1346,7 @@ HRESULT get_runtime_info(LPCWSTR exefile, LPCWSTR version, LPCWSTR config_file,
hr = CLRMetaHost_GetRuntime(0, entry->version, &IID_ICLRRuntimeInfo, (void**)result);
if (SUCCEEDED(hr))
{
found = 1;
found = TRUE;
break;
}
}