From 7f0ec867694c0474b755caae04fa18c7c619dbfb Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 2 Feb 2004 07:24:30 +0000 Subject: [PATCH] fixed the win32 function to use the correct proto, as pointed out by Gisle Vanem --- src/getpass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/getpass.c b/src/getpass.c index 4743f9a4f..1f6eacb79 100644 --- a/src/getpass.c +++ b/src/getpass.c @@ -197,7 +197,7 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen) #else /* WIN32 */ #include #include -char *getpass_r(const char *prompt, char *buffer, int buflen) +char *getpass_r(const char *prompt, char *buffer, size_t buflen) { int i; printf("%s", prompt);