commit | 196ee29673890fe7c7fe7687b4afca04b4a19b3c | [log] [tgz] |
---|---|---|
author | Paul Wankadia <[email protected]> | Sun Dec 06 17:06:22 2015 +1100 |
committer | Paul Wankadia <[email protected]> | Sun Dec 06 06:11:03 2015 +0000 |
tree | bf7712c0b03c7433677b8782139b8280a6389793 | |
parent | 7116fe6b195143be8a9962fda496068b76982c35 [diff] [blame] |
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.