wbemprox/tests: Use BOOL type where appropriate

Frédéric Delanoy frederic.delanoy at gmail.com
Mon Jan 6 17:14:36 CST 2014


---
 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 },
-- 
1.8.5.2




More information about the wine-patches mailing list