Module: wine Branch: master Commit: 38adec4ac558b4e49f285b9caeb75975e194d127 URL: http://source.winehq.org/git/wine.git/?a=commit;h=38adec4ac558b4e49f285b9cae...
Author: Frédéric Delanoy frederic.delanoy@gmail.com Date: Fri Oct 25 00:19:06 2013 +0200
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 13e7f03..7cfc359 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 4264f3a..7e99bbe 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 7b655b9..5b4a2c7 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];