Skip to content

Commit

Permalink
C++ client: fix Windows build warning (#5392)
Browse files Browse the repository at this point in the history
  • Loading branch information
kosak authored Apr 21, 2024
1 parent 1604287 commit 2858f51
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions cpp-client/deephaven/tests/src/table_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ TEST_CASE("Fetch the entire table (small)", "[client_table]") {
auto date_time_start = DateTime::Parse("2001-03-01T12:34:56Z");

for (int64_t i = 0; i != target; ++i) {
chars.emplace_back('a' + i);
int8s.emplace_back(i);
int16s.emplace_back(i);
int32s.emplace_back(i);
int64s.emplace_back(i);
floats.emplace_back(i);
doubles.emplace_back(i);
chars.emplace_back(static_cast<char16_t>('a' + i));
int8s.emplace_back(static_cast<int8_t>(i));
int16s.emplace_back(static_cast<int16_t>(i));
int32s.emplace_back(static_cast<int32_t>(i));
int64s.emplace_back(static_cast<int64_t>(i));
floats.emplace_back(static_cast<float>(i));
doubles.emplace_back(static_cast<double>(i));
bools.emplace_back((i % 2) == 0);
strings.emplace_back(fmt::format("hello {}", i));
date_times.emplace_back(DateTime::FromNanos(date_time_start.Nanos() + i));
Expand Down

0 comments on commit 2858f51

Please sign in to comment.