d3drm/tests: Use BOOL type where appropriate

Frédéric Delanoy frederic.delanoy at gmail.com
Thu Nov 7 14:47:32 CST 2013


---
 dlls/d3drm/tests/vector.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/d3drm/tests/vector.c b/dlls/d3drm/tests/vector.c
index c9e40fe..21a4695 100644
--- a/dlls/d3drm/tests/vector.c
+++ b/dlls/d3drm/tests/vector.c
@@ -28,14 +28,15 @@
 
 #define expect_mat( expectedmat, gotmat)\
 { \
-    int i,j,equal=1; \
+    int i,j; \
+    BOOL equal = TRUE; \
     for (i=0; i<4; i++)\
         {\
          for (j=0; j<4; j++)\
              {\
               if (fabs(expectedmat[i][j]-gotmat[i][j])>admit_error)\
                  {\
-                  equal=0;\
+                  equal = FALSE;\
                  }\
              }\
         }\
-- 
1.8.4.2




More information about the wine-patches mailing list