aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);