diff options
| author | orlikowski <orlikowski@13f79535-47bb-0310-9956-ffa450edef68> | 2002-07-10 06:01:13 +0000 |
|---|---|---|
| committer | orlikowski <orlikowski@13f79535-47bb-0310-9956-ffa450edef68> | 2002-07-10 06:01:13 +0000 |
| commit | 098c035f3bfc3782e51ab6163d7e78d4fcd10385 (patch) | |
| tree | 9c4ad61c42125bd4c79104e6910e1ecb4da2c289 /passwd | |
| parent | a56172a7141e17dc0e99d61fb7313c81ccbe955e (diff) | |
| download | libapr-098c035f3bfc3782e51ab6163d7e78d4fcd10385.tar.gz | |
Continue the Bill Rowe apr_size_t crusade.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63595 13f79535-47bb-0310-9956-ffa450edef68
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, |
