summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2014-08-04 15:21:34 (GMT)
committerEvan Martin <martine@danga.com>2014-08-04 15:21:34 (GMT)
commitac26ba226e970188d71e16910af2faa313f7c583 (patch)
tree9ad61388d62e9e7a2c1a0e57a1d983addc5d99b2
parent5097da22f173cb554fe8b0f4f970d002bc08056d (diff)
downloadNinja-ac26ba226e970188d71e16910af2faa313f7c583.zip
Ninja-ac26ba226e970188d71e16910af2faa313f7c583.tar.gz
Ninja-ac26ba226e970188d71e16910af2faa313f7c583.tar.bz2
add some parens to silence a gcc warning
-rw-r--r--src/disk_interface.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/disk_interface.cc b/src/disk_interface.cc
index b170f63..1a79fb0 100644
--- a/src/disk_interface.cc
+++ b/src/disk_interface.cc
@@ -89,7 +89,7 @@ bool IsWindows7OrLater() {
if (!GetVersionEx(&version_info))
Fatal("GetVersionEx: %s", GetLastErrorString().c_str());
return version_info.dwMajorVersion > 6 ||
- version_info.dwMajorVersion == 6 && version_info.dwMinorVersion >= 1;
+ (version_info.dwMajorVersion == 6 && version_info.dwMinorVersion >= 1);
}
#pragma warning(pop)