Skip to content

Commit

Permalink
fix type conversion
Browse files Browse the repository at this point in the history
Signed-off-by: dentiny <[email protected]>
  • Loading branch information
dentiny committed Jan 13, 2025
1 parent ebcf2fa commit 6505ddb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/ray/util/pipe_logger.cc
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,9 @@ size_t Read(HANDLE read_handle, char *data, size_t len) {
return bytes_read;
}
void CompleteWriteEOFIndicator(HANDLE write_handle) {
size_t bytes_written = 0;
BOOL result = WriteFile(
DWORD bytes_written = 0;
WriteFile(
write_handle, kEofIndicator.c_str(), kEofIndicator.size(), &bytes_written, nullptr);
RAY_CHECK_EQ(bytes_written, static_cast<ssize_t>(kEofIndicator.size()));
RAY_CHECK(result);
}
#endif

Expand Down

0 comments on commit 6505ddb

Please sign in to comment.