summaryrefslogtreecommitdiff
path: root/sapi/apache2handler/sapi_apache2.c
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2011-05-16 15:52:31 +0000
committerRasmus Lerdorf <rasmus@php.net>2011-05-16 15:52:31 +0000
commit27dd44db9577f09864cb231b0e1e58efe9a14230 (patch)
tree07137dca0ef0dcff9be24922d9ff606bd63403df /sapi/apache2handler/sapi_apache2.c
parenta90b7da4358e9fdd873035fb58f4418ddbdd9e65 (diff)
downloadphp-git-27dd44db9577f09864cb231b0e1e58efe9a14230.tar.gz
Fix a couple of warnings. Use %zu to printf a time_t and get_request_time
actually returns a double, not a time_t.
Diffstat (limited to 'sapi/apache2handler/sapi_apache2.c')
-rw-r--r--sapi/apache2handler/sapi_apache2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c
index 0d1cad0630..48eea2b6fb 100644
--- a/sapi/apache2handler/sapi_apache2.c
+++ b/sapi/apache2handler/sapi_apache2.c
@@ -670,7 +670,7 @@ zend_first_try {
}
apr_table_set(r->notes, "mod_php_memory_usage",
- apr_psprintf(ctx->r->pool, "%u", zend_memory_peak_usage(1 TSRMLS_CC)));
+ apr_psprintf(ctx->r->pool, "%zu", zend_memory_peak_usage(1 TSRMLS_CC)));
}
} zend_end_try();