known to be a positive value.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94801
13f79535-47bb-0310-9956-
ffa450edef68
}
static apr_status_t pass_data_to_filter(ap_filter_t *f, const char *data,
- apr_ssize_t len)
+ apr_size_t len)
{
ef_ctx_t *ctx = f->ctx;
ef_dir_t *dc = ctx->dc;
return rv;
}
+ /* Good cast, we just tested len isn't negative */
if (len > 0 &&
- (rv = pass_data_to_filter(f, data, len)) != APR_SUCCESS) {
+ (rv = pass_data_to_filter(f, data, (apr_size_t)len))
+ != APR_SUCCESS) {
return rv;
}
}