From c655273a03600de537e734c8ba88bd70afd33d35 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 27 Aug 2015 13:05:49 -0400 Subject: Use %ld instead of %d for potentially long integer values --- nss_engine_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nss_engine_io.c b/nss_engine_io.c index 6e03a11..f1ac69c 100644 --- a/nss_engine_io.c +++ b/nss_engine_io.c @@ -540,7 +540,7 @@ static apr_status_t nss_filter_write(ap_filter_t *f, char *reason = "reason unknown"; ap_log_error(APLOG_MARK, APLOG_INFO, outctx->rc, c->base_server, - "failed to write %d of %d bytes (%s)", + "failed to write %ld of %ld bytes (%s)", len - (apr_size_t)res, len, reason); outctx->rc = APR_EGENERAL; -- cgit