=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: mscoree/tests: Use BOOL type where appropriate.

Alexandre Julliard julliard at winehq.org
Wed Feb 19 14:48:16 CST 2014


Module: wine
Branch: master
Commit: 77c191786aa56ce10774ec01f11a1739611ca6a4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=77c191786aa56ce10774ec01f11a1739611ca6a4

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Wed Feb 19 00:41:54 2014 +0100

mscoree/tests: Use BOOL type where appropriate.

---

 dlls/mscoree/tests/mscoree.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/mscoree/tests/mscoree.c b/dlls/mscoree/tests/mscoree.c
index 852944f..fcea603 100644
--- a/dlls/mscoree/tests/mscoree.c
+++ b/dlls/mscoree/tests/mscoree.c
@@ -34,7 +34,7 @@ static HRESULT (WINAPI *pLoadLibraryShim)(LPCWSTR, LPCWSTR, LPVOID, HMODULE*);
 static HRESULT (WINAPI *pCreateConfigStream)(LPCWSTR, IStream**);
 static HRESULT (WINAPI *pCreateInterface)(REFCLSID, REFIID, VOID**);
 
-static int no_legacy_runtimes;
+static BOOL no_legacy_runtimes;
 
 static BOOL init_functionpointers(void)
 {
@@ -87,7 +87,7 @@ static void test_versioninfo(void)
     hr =  pGetCORVersion(version, 1, &size);
     if (hr == CLR_E_SHIM_RUNTIME)
     {
-        no_legacy_runtimes = 1;
+        no_legacy_runtimes = TRUE;
         win_skip("No legacy .NET runtimes are installed\n");
         return;
     }




More information about the wine-cvs mailing list