Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit ac26ba2

Browse files
committed
add some parens to silence a gcc warning
1 parent 5097da2 commit ac26ba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/disk_interface.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ bool IsWindows7OrLater() {
8989
if (!GetVersionEx(&version_info))
9090
Fatal("GetVersionEx: %s", GetLastErrorString().c_str());
9191
return version_info.dwMajorVersion > 6 ||
92-
version_info.dwMajorVersion == 6 && version_info.dwMinorVersion >= 1;
92+
(version_info.dwMajorVersion == 6 && version_info.dwMinorVersion >= 1);
9393
}
9494
#pragma warning(pop)
9595

0 commit comments

Comments
 (0)