diff options
Diffstat (limited to 'lib/telnet.c')
-rw-r--r-- | lib/telnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/telnet.c b/lib/telnet.c index a3f3c8b59..bb73caeb3 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -1094,7 +1094,7 @@ CURLcode Curl_telnet(struct connectdata *conn) ssize_t bytes_written; char *buffer = buf; - if(!ReadFile(stdin_handle, buf, 255, &nread, NULL)) { + if(!ReadFile(stdin_handle, buf, 255, (LPDWORD)&nread, NULL)) { keepon = FALSE; break; } |