From: Daniel Stenberg Date: Mon, 2 Feb 2004 07:24:30 +0000 (+0000) Subject: fixed the win32 function to use the correct proto, as pointed out by Gisle X-Git-Tag: cares-1_1_0~396 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f0ec867694c0474b755caae04fa18c7c619dbfb;p=curl fixed the win32 function to use the correct proto, as pointed out by Gisle Vanem --- 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);