diff options
Diffstat (limited to 'passwd')
-rw-r--r-- | passwd/apr_getpass.c | 2 | ||||
-rw-r--r-- | passwd/apr_md5.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/passwd/apr_getpass.c b/passwd/apr_getpass.c index 199f4fc26..cf84b7f1d 100644 --- a/passwd/apr_getpass.c +++ b/passwd/apr_getpass.c @@ -223,7 +223,7 @@ static char *getpass(const char *prompt) * smaller than our own. */ -APR_DECLARE(apr_status_t) apr_password_get(const char *prompt, char *pwbuf, size_t *bufsiz) +APR_DECLARE(apr_status_t) apr_password_get(const char *prompt, char *pwbuf, apr_size_t *bufsiz) { char *pw_got = getpass(prompt); if (!pw_got) diff --git a/passwd/apr_md5.c b/passwd/apr_md5.c index 58d1119ee..958400dbc 100644 --- a/passwd/apr_md5.c +++ b/passwd/apr_md5.c @@ -520,7 +520,7 @@ static void to64(char *s, unsigned long v, int n) } APR_DECLARE(apr_status_t) apr_md5_encode(const char *pw, const char *salt, - char *result, size_t nbytes) + char *result, apr_size_t nbytes) { /* * Minimum size is 8 bytes for salt, plus 1 for the trailing NUL, |