diff options
Diffstat (limited to 'lib/getpass.c')
-rw-r--r-- | lib/getpass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getpass.c b/lib/getpass.c index f5833cc32..d9d19322c 100644 --- a/lib/getpass.c +++ b/lib/getpass.c @@ -71,7 +71,7 @@ # define perror(x) fprintf(stderr, "Error in: %s\n", x) #endif -char *getpass_r(const char *prompt, char *buffer, int buflen) +char *getpass_r(const char *prompt, char *buffer, size_t buflen) { FILE *infp; FILE *outfp; |