shape ops work in progress

rewrite binary edge inclusion lookup
fix warnings

git-svn-id: http://skia.googlecode.com/svn/trunk@6726 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/experimental/Intersection/LineUtilities.cpp b/experimental/Intersection/LineUtilities.cpp
index fc19885..25bd88d 100644
--- a/experimental/Intersection/LineUtilities.cpp
+++ b/experimental/Intersection/LineUtilities.cpp
@@ -103,14 +103,14 @@
     // if p1.y > p2.y, maxX can be affected
     double slope = (p2.x - p1.x) / (p2.y - p1.y);
     int topFlags = flags & (kFindTopMin | kFindTopMax);
-    if (topFlags && (top <= p1.y && top >= p2.y
-            || top >= p1.y && top <= p2.y)) {
+    if (topFlags && ((top <= p1.y && top >= p2.y)
+            || (top >= p1.y && top <= p2.y))) {
         double x = p1.x + (top - p1.y) * slope;
         setMinMax(x, topFlags, minX, maxX);
     }
     int bottomFlags = flags & (kFindBottomMin | kFindBottomMax);
-    if (bottomFlags && (bottom <= p1.y && bottom >= p2.y
-            || bottom >= p1.y && bottom <= p2.y)) {
+    if (bottomFlags && ((bottom <= p1.y && bottom >= p2.y)
+            || (bottom >= p1.y && bottom <= p2.y))) {
         double x = p1.x + (bottom - p1.y) * slope;
         setMinMax(x, bottomFlags, minX, maxX);
     }