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

Alexandre Julliard julliard at winehq.org
Tue Jan 7 13:21:17 CST 2014


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Tue Jan  7 00:14:36 2014 +0100

wbemprox/tests: Use BOOL type where appropriate.

---

 dlls/wbemprox/tests/services.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/wbemprox/tests/services.c b/dlls/wbemprox/tests/services.c
index 7f8a7a2..b36748e 100644
--- a/dlls/wbemprox/tests/services.c
+++ b/dlls/wbemprox/tests/services.c
@@ -115,7 +115,7 @@ static void test_IWbemLocator(void)
     {
         const WCHAR *path;
         HRESULT      result;
-        int          todo;
+        BOOL         todo;
         HRESULT      result_broken;
     }
     test[] =
@@ -124,10 +124,10 @@ static void test_IWbemLocator(void)
         { path1W, WBEM_E_INVALID_NAMESPACE },
         { path2W, WBEM_E_INVALID_NAMESPACE },
         { path3W, WBEM_E_INVALID_NAMESPACE },
-        { path4W, WBEM_E_INVALID_NAMESPACE, 0, WBEM_E_INVALID_PARAMETER },
+        { path4W, WBEM_E_INVALID_NAMESPACE, FALSE, WBEM_E_INVALID_PARAMETER },
         { path5W, WBEM_E_INVALID_NAMESPACE },
-        { path6W, 0x800706ba, 1 },
-        { path7W, 0x800706ba, 1 },
+        { path6W, 0x800706ba, TRUE },
+        { path7W, 0x800706ba, TRUE },
         { path8W, WBEM_E_INVALID_NAMESPACE },
         { path9W, S_OK },
         { path10W, WBEM_E_INVALID_PARAMETER },




More information about the wine-cvs mailing list