mscoree: Use BOOL type where appropriate.
This commit is contained in:
parent
02f5ebd062
commit
38adec4ac5
|
@ -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;
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue