Skip to content

Commit 72c020f

Browse files
committedJul 8, 2024·
FIX: Fix Windows build
1 parent 601767d commit 72c020f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎test/src/mock_lsg_server.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ void SocketStream::WriteAll(const std::uint8_t* buffer, std::size_t length) {
2828
constexpr int MSG_NOSIGNAL = {};
2929
#endif
3030
// Don't send a SIGPIPE if the connection is closed
31-
last_write_size_ = ::send(socket_, buffer, length, MSG_NOSIGNAL);
31+
last_write_size_ = ::send(socket_, reinterpret_cast<const char*>(buffer),
32+
length, MSG_NOSIGNAL);
3233
}
3334

3435
using databento::test::mock::MockLsgServer;

0 commit comments

Comments
 (0)
Please sign in to comment.