Update Makefile generation and ensure everything works with Borland 5.5
[u/mdw/putty] / plink.c
diff --git a/plink.c b/plink.c
index 1d68e97..938bcb7 100644 (file)
--- a/plink.c
+++ b/plink.c
@@ -177,7 +177,7 @@ static int get_password(const char *prompt, char *str, int maxlen)
     return 1;
 }
 
-static int WINAPI stdin_read_thread(void *param) {
+static DWORD WINAPI stdin_read_thread(void *param) {
     struct input_data *idata = (struct input_data *)param;
     HANDLE inhandle;