Skip to content

Commit 6300e53

Browse files
committed
Fix Windows build
2 parents b539daa + af7fd46 commit 6300e53

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/unit/bugs/bugs.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -823,8 +823,8 @@ void bugs::bug14520822()
823823
ASSERT_EQUALS("1", res->getString(2));
824824
ASSERT_EQUALS(false, res->getBoolean(1));
825825
ASSERT_EQUALS(true, res->getBoolean(2));
826-
ASSERT_EQUALS(0L, res->getInt64(1));
827-
ASSERT_EQUALS(1L, res->getInt64(2));
826+
ASSERT_EQUALS((int64_t)0, res->getInt64(1));
827+
ASSERT_EQUALS((int64_t)1, res->getInt64(2));
828828

829829
pstmt.reset(con->prepareStatement("select min(b) ,max(b) from bug14520822"));
830830
res.reset(pstmt->executeQuery());
@@ -833,8 +833,8 @@ void bugs::bug14520822()
833833
ASSERT_EQUALS("1", res->getString(2));
834834
ASSERT_EQUALS(false, res->getBoolean(1));
835835
ASSERT_EQUALS(true, res->getBoolean(2));
836-
ASSERT_EQUALS(0L, res->getInt64(1));
837-
ASSERT_EQUALS(1L, res->getInt64(2));
836+
ASSERT_EQUALS((int64_t)0, res->getInt64(1));
837+
ASSERT_EQUALS((int64_t)1, res->getInt64(2));
838838

839839
}
840840
catch (sql::SQLException &e)

0 commit comments

Comments
 (0)