aboutsummaryrefslogtreecommitdiff
path: root/lib/getpass.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-12-05 08:04:04 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-12-05 08:04:04 +0000
commit6ced1ba6151e74d87c06d83c3f6eef472ee38b25 (patch)
tree20a9498ff2fcd725e2cf97525a086033929ac354 /lib/getpass.c
parent54e46e199c8f6870b030e93916745abd98810d84 (diff)
changed third argument to size_t to match SCO prototype
Diffstat (limited to 'lib/getpass.c')
-rw-r--r--lib/getpass.c2
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;