aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-03-03 06:42:52 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-03-03 06:42:52 +0000
commitf70acd597944be7a82b73cf5bc81c6251ed8a9be (patch)
tree4b8059ee1125a177a7c5d4433e7d28f3450c661d /lib
parentffe5c462247ca9854ba981debe9559e2f00bb211 (diff)
another typecast added to please the borland compiler
Diffstat (limited to 'lib')
-rw-r--r--lib/telnet.c2
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;
}