another typecast added to please the borland compiler
authorDaniel Stenberg <daniel@haxx.se>
Mon, 3 Mar 2003 06:42:52 +0000 (06:42 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 3 Mar 2003 06:42:52 +0000 (06:42 +0000)
lib/telnet.c

index a3f3c8b5940079c373100b13d7a44786389becbb..bb73caeb3834b961cab1bcc277c509424b06a210 100644 (file)
@@ -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;
         }