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
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
#else /* WIN32 */
#include <stdio.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;
printf("%s", prompt);