From: Markus Blatt <markus@dr-blatt.de>
Date: Tue, 25 May 2021 11:42:06 +0200
Subject: Prevent 32bit overflow when testing OpmLog.

---
 tests/test_OpmLog.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_OpmLog.cpp b/tests/test_OpmLog.cpp
index d101890..82b7e28 100644
--- a/tests/test_OpmLog.cpp
+++ b/tests/test_OpmLog.cpp
@@ -249,7 +249,7 @@ BOOST_AUTO_TEST_CASE(TestHelperFunctions)
     BOOST_CHECK(!isPower2(0));
     BOOST_CHECK(isPower2(1));
     BOOST_CHECK(isPower2(1 << 3));
-    BOOST_CHECK(isPower2(1ul << 62));
+    BOOST_CHECK(isPower2(1ul << 31));
 
     // fileMessage
     BOOST_CHECK_EQUAL(fileMessage(KeywordLocation("Keyword", "foo/bar", 1), "message"), "message\nIn file foo/bar, line 1\n");
