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);