=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: mscoree: Use BOOL type where appropriate.
Alexandre Julliard
julliard at winehq.org
Wed Feb 19 14:48:16 CST 2014
Module: wine
Branch: master
Commit: 8cdcf470016f0655dfc8810f9d4d2f2d7a7d1b54
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8cdcf470016f0655dfc8810f9d4d2f2d7a7d1b54
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Wed Feb 19 00:41:53 2014 +0100
mscoree: Use BOOL type where appropriate.
---
dlls/mscoree/metahost.c | 4 ++--
dlls/mscoree/mscoree_private.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/mscoree/metahost.c b/dlls/mscoree/metahost.c
index 6386122..61bd89e 100644
--- a/dlls/mscoree/metahost.c
+++ b/dlls/mscoree/metahost.c
@@ -718,7 +718,7 @@ static void find_runtimes(void)
if (GetFileAttributesW(lib_path) != INVALID_FILE_ATTRIBUTES)
{
- runtimes[i].found = 1;
+ runtimes[i].found = TRUE;
strcpyW(runtimes[i].mono_path, mono_path);
strcpyW(runtimes[i].mscorlib_path, lib_path);
@@ -733,7 +733,7 @@ static void find_runtimes(void)
/* Report all runtimes are available if Mono isn't installed.
* FIXME: Remove this when Mono is properly packaged. */
for (i=0; i<NUM_RUNTIMES; i++)
- runtimes[i].found = 1;
+ runtimes[i].found = TRUE;
}
runtimes_initialized = TRUE;
diff --git a/dlls/mscoree/mscoree_private.h b/dlls/mscoree/mscoree_private.h
index f76dd78..a451344 100644
--- a/dlls/mscoree/mscoree_private.h
+++ b/dlls/mscoree/mscoree_private.h
@@ -64,7 +64,7 @@ typedef struct CLRRuntimeInfo
DWORD major;
DWORD minor;
DWORD build;
- int found;
+ BOOL found;
WCHAR mono_path[MAX_PATH];
WCHAR mscorlib_path[MAX_PATH];
struct RuntimeHost *loaded_runtime;
More information about the wine-cvs
mailing list