Skip to content

Commit

Permalink
BLD: Fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
threecgreen committed Jul 8, 2024
1 parent 601767d commit dae2f38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/src/mock_lsg_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ void SocketStream::WriteAll(const std::uint8_t* buffer, std::size_t length) {
constexpr int MSG_NOSIGNAL = {};
#endif
// Don't send a SIGPIPE if the connection is closed
last_write_size_ = ::send(socket_, buffer, length, MSG_NOSIGNAL);
last_write_size_ = ::send(socket_, reinterpret_cast<const char*>(buffer),
length, MSG_NOSIGNAL);
}

using databento::test::mock::MockLsgServer;
Expand Down

0 comments on commit dae2f38

Please sign in to comment.