summaryrefslogtreecommitdiffstats
path: root/Source/CTest/Curl/telnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CTest/Curl/telnet.c')
-rw-r--r--Source/CTest/Curl/telnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/Curl/telnet.c b/Source/CTest/Curl/telnet.c
index c9db4ca..ef1b828 100644
--- a/Source/CTest/Curl/telnet.c
+++ b/Source/CTest/Curl/telnet.c
@@ -1105,7 +1105,7 @@ CURLcode Curl_telnet(struct connectdata *conn)
ssize_t bytes_written;
char *buffer = buf;
- if(!ReadFile(stdin_handle, buf, 255, &(DWORD)nread, NULL)) {
+ if(!ReadFile(stdin_handle, buf, 255, ((DWORD*)&nread), NULL)) {
keepon = FALSE;
break;
}