You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rj...@apache.org on 2016/01/19 12:40:59 UTC
svn commit: r1725476 - /httpd/httpd/trunk/modules/ssl/ssl_ct_util.c
Author: rjung
Date: Tue Jan 19 11:40:59 2016
New Revision: 1725476
URL: http://svn.apache.org/viewvc?rev=1725476&view=rev
Log:
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
Modified:
httpd/httpd/trunk/modules/ssl/ssl_ct_util.c
Modified: httpd/httpd/trunk/modules/ssl/ssl_ct_util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_ct_util.c?rev=1725476&r1=1725475&r2=1725476&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_ct_util.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_ct_util.c Tue Jan 19 11:40:59 2016
@@ -216,7 +216,7 @@ apr_status_t ctutil_read_file(apr_pool_t
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(c
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;