From 38adec4ac558b4e49f285b9caeb75975e194d127 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Delanoy?= Date: Fri, 25 Oct 2013 00:19:06 +0200 Subject: [PATCH] mscoree: Use BOOL type where appropriate. --- dlls/mscoree/assembly.c | 6 +++--- dlls/mscoree/metahost.c | 4 ++-- dlls/mscoree/mscoree_main.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dlls/mscoree/assembly.c b/dlls/mscoree/assembly.c index 13e7f03e4da..7cfc35910d2 100644 --- a/dlls/mscoree/assembly.c +++ b/dlls/mscoree/assembly.c @@ -63,7 +63,7 @@ typedef struct tagCLRTABLE struct tagASSEMBLY { - int is_mapped_file; + BOOL is_mapped_file; /* mapped files */ LPWSTR path; @@ -213,7 +213,7 @@ HRESULT assembly_create(ASSEMBLY **out, LPCWSTR file) if (!assembly) return E_OUTOFMEMORY; - assembly->is_mapped_file = 1; + assembly->is_mapped_file = TRUE; assembly->path = strdupW(file); if (!assembly->path) @@ -267,7 +267,7 @@ HRESULT assembly_from_hmodule(ASSEMBLY **out, HMODULE hmodule) if (!assembly) return E_OUTOFMEMORY; - assembly->is_mapped_file = 0; + assembly->is_mapped_file = FALSE; assembly->data = (BYTE*)hmodule; diff --git a/dlls/mscoree/metahost.c b/dlls/mscoree/metahost.c index 4264f3a667d..7e99bbe300d 100644 --- a/dlls/mscoree/metahost.c +++ b/dlls/mscoree/metahost.c @@ -648,7 +648,7 @@ static BOOL get_mono_path(LPWSTR path) WCHAR base_path[MAX_PATH]; const char *unix_data_dir; WCHAR *dos_data_dir; - int build_tree=0; + BOOL build_tree = FALSE; static WCHAR* (CDECL *wine_get_dos_file_name)(const char*); /* First try c:\windows\mono */ @@ -664,7 +664,7 @@ static BOOL get_mono_path(LPWSTR path) if (!unix_data_dir) { unix_data_dir = wine_get_build_dir(); - build_tree = 1; + build_tree = TRUE; } if (unix_data_dir) diff --git a/dlls/mscoree/mscoree_main.c b/dlls/mscoree/mscoree_main.c index 7b655b9410f..5b4a2c751d6 100644 --- a/dlls/mscoree/mscoree_main.c +++ b/dlls/mscoree/mscoree_main.c @@ -647,7 +647,7 @@ static void parse_msi_version_string(const char *version, int *parts) static BOOL install_wine_mono(void) { - BOOL is_wow64=0; + BOOL is_wow64 = FALSE; HMODULE hmsi; UINT (WINAPI *pMsiGetProductInfoA)(LPCSTR,LPCSTR,LPSTR,DWORD*); char versionstringbuf[15];