diff mm7_4.cpp @ 1110:cf6cd674c398

bitwise operator ambiguity reduced
author Grumpy7
date Mon, 27 May 2013 23:05:32 +0200
parents 5d5c78088274
children 29a8defbad9e
line wrap: on
line diff
--- a/mm7_4.cpp	Mon May 27 22:25:27 2013 +0200
+++ b/mm7_4.cpp	Mon May 27 23:05:32 2013 +0200
@@ -284,7 +284,7 @@
             continue;
 
             v14 = word_721460_xs[j + 1] >= x ? 0 : 2;
-            v15 = v14 | word_721460_xs[j] < x;
+            v15 = v14 | (word_721460_xs[j] < x);
 
           if (v15 == 3)
             continue;
@@ -516,7 +516,7 @@
                 if ( v43 != v44 )
                 {
                   v18 = word_721040[i + 1] >= X ? 0 : 2;
-                  v19 = v18 | word_721040[i] < X;
+                  v19 = v18 | (word_721040[i] < X);
                   if ( v19 != 3 )
                   {
                     if ( !v19 )
@@ -722,7 +722,7 @@
                         if ( v34 != v35 )
                         {
                           v13 = word_720DB0_xs[v12 + 1] >= v31 ? 0 : 2;
-                          v14 = v13 | word_720DB0_xs[v12] < v31;
+                          v14 = v13 | (word_720DB0_xs[v12] < v31);
                           if ( v14 != 3 )
                           {
                             if ( !v14