diff options
author | Nico Weber <nicolasweber@gmx.de> | 2014-08-05 22:24:04 (GMT) |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2014-08-05 22:24:04 (GMT) |
commit | 6def0330d1d5de9b20ca745bd11da091b610f6fb (patch) | |
tree | 9ad61388d62e9e7a2c1a0e57a1d983addc5d99b2 /src | |
parent | 5097da22f173cb554fe8b0f4f970d002bc08056d (diff) | |
parent | ac26ba226e970188d71e16910af2faa313f7c583 (diff) | |
download | Ninja-6def0330d1d5de9b20ca745bd11da091b610f6fb.zip Ninja-6def0330d1d5de9b20ca745bd11da091b610f6fb.tar.gz Ninja-6def0330d1d5de9b20ca745bd11da091b610f6fb.tar.bz2 |
Merge pull request #802 from martine/parens
add some parens to silence a gcc warning
Diffstat (limited to 'src')
-rw-r--r-- | src/disk_interface.cc | 2 |
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) |