1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

fixed the win32 function to use the correct proto, as pointed out by Gisle

Vanem
This commit is contained in:
Daniel Stenberg 2004-02-02 07:24:30 +00:00
parent 5e69ca0ebd
commit 7f0ec86769

View File

@ -197,7 +197,7 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
#else /* WIN32 */ #else /* WIN32 */
#include <stdio.h> #include <stdio.h>
#include <conio.h> #include <conio.h>
char *getpass_r(const char *prompt, char *buffer, int buflen) char *getpass_r(const char *prompt, char *buffer, size_t buflen)
{ {
int i; int i;
printf("%s", prompt); printf("%s", prompt);