aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-02 07:24:30 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-02 07:24:30 +0000
commit7f0ec867694c0474b755caae04fa18c7c619dbfb (patch)
tree3a87821484821d207b47c040acfb50f6fae744ac /src
parent5e69ca0ebdfa02a316570e3b9b5d1d2c95fba493 (diff)
fixed the win32 function to use the correct proto, as pointed out by Gisle
Vanem
Diffstat (limited to 'src')
-rw-r--r--src/getpass.c2
1 files changed, 1 insertions, 1 deletions
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 <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);