Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions test/overlapped-checker/main_win.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

static char buf[256];
static DWORD read_count;
static DWORD write_count;
static HANDLE stdin_h;
static OVERLAPPED stdin_o;

Expand Down Expand Up @@ -34,7 +33,7 @@ static void write(const char* buf, size_t buf_size) {
if (!WriteFile(stdout_h, buf, buf_size, &write_count, NULL)) {
die("overlapped write failed");
}
fprintf(stderr, "%d", write_count);
fprintf(stderr, "%ld", write_count);
fflush(stderr);
}

Expand Down