| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a760dad commit eb53121
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,7 +6,6 @@ | |||
| 6 | 6 | ||
| 7 | 7 | static char buf[256]; | |
| 8 | 8 | static DWORD read_count; | |
| 9 | - static DWORD write_count; | ||
| 10 | 9 | static HANDLE stdin_h; | |
| 11 | 10 | static OVERLAPPED stdin_o; | |
| 12 | 11 | ||
@@ -34,7 +33,7 @@ static void write(const char* buf, size_t buf_size) { | |||
| 34 | 33 | if (!WriteFile(stdout_h, buf, buf_size, &write_count, NULL)) { | |
| 35 | 34 | die("overlapped write failed"); | |
| 36 | 35 | } | |
| 37 | - fprintf(stderr, "%d", write_count); | ||
| 36 | + fprintf(stderr, "%ld", write_count); | ||
| 38 | 37 | fflush(stderr); | |
| 39 | 38 | } | |
| 40 | 39 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments