From 65e42fb6986c42d96e2e5e8872ab39312230cbec Mon Sep 17 00:00:00 2001 From: wrowe Date: Tue, 15 May 2001 14:15:50 +0000 Subject: Byte counts are apr_size_t, win32 declares a goofy ptrdiff_t that corresponds to a normal ssize_t. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61642 13f79535-47bb-0310-9956-ffa450edef68 --- passwd/apr_md5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'passwd') diff --git a/passwd/apr_md5.c b/passwd/apr_md5.c index 48d1f1c4b..a2aecb49f 100644 --- a/passwd/apr_md5.c +++ b/passwd/apr_md5.c @@ -231,7 +231,7 @@ APR_DECLARE(apr_status_t) apr_md5_set_xlate(apr_md5_ctx_t *context, */ APR_DECLARE(apr_status_t) apr_md5_update(apr_md5_ctx_t *context, const unsigned char *input, - unsigned int inputLen) + apr_size_t inputLen) { unsigned int i, idx, partLen; #if APR_HAS_XLATE @@ -503,7 +503,7 @@ APR_DECLARE(apr_status_t) apr_md5_encode(const char *pw, const char *salt, char passwd[120], *p; const char *sp, *ep; unsigned char final[MD5_DIGESTSIZE]; - int sl, pl, i; + apr_ssize_t sl, pl, i; apr_md5_ctx_t ctx, ctx1; unsigned long l; -- cgit v1.2.1