From: Rainer Jung <rjung@apache.org> Date: Tue, 19 Jan 2016 11:40:59 +0000 (+0000) Subject: Silence compiler warnings: X-Git-Tag: 2.5.0-alpha~2378 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=82c871d601319a4fea10017ee795532b8d63aec4;p=apache Silence compiler warnings: - format '%u' expects argument of type 'unsigned int', but argument 10 has type 'apr_off_t' - 'val64' may be used uninitialized in this function git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725476 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_ct_util.c b/modules/ssl/ssl_ct_util.c index c7a2e1ead5..e84e980fe7 100644 --- a/modules/ssl/ssl_ct_util.c +++ b/modules/ssl/ssl_ct_util.c @@ -216,7 +216,7 @@ apr_status_t ctutil_read_file(apr_pool_t *p, rv = APR_ENOSPC; ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO(02781) "size %" APR_OFF_T_FMT " of %s exceeds " - "limit (%" APR_SIZE_T_FMT ")", finfo.size, fn, limit); + "limit (%" APR_OFF_T_FMT ")", finfo.size, fn, limit); apr_file_close(f); return rv; } @@ -509,7 +509,7 @@ apr_status_t ctutil_deserialize_uint16(const unsigned char **mem, apr_uint16_t *pval) { apr_status_t rv; - apr_uint64_t val64; + apr_uint64_t val64 = 0; rv = deserialize_uint(mem, avail, 16, &val64); *pval = (apr_uint16_t)val64;