Tidy up some bool conversions.

For #65.

Change-Id: If27184d647f9f148a8bcbfae06058f9e312a9c6d
Reviewed-on: https://code-review.googlesource.com/3841
Reviewed-by: Paul Wankadia <[email protected]>
diff --git a/re2/regexp.cc b/re2/regexp.cc
index 7bb8390..99e72e5 100644
--- a/re2/regexp.cc
+++ b/re2/regexp.cc
@@ -678,7 +678,7 @@
       }
       break;
   }
-  *foldcase = (sub[i]->parse_flags() & FoldCase);
+  *foldcase = (sub[i]->parse_flags() & FoldCase) != 0;
   i++;
 
   // The rest.