From 854b6e64d26ac8119f18e7d36cd2f80493c6205f Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sun, 11 Jun 2000 14:04:52 +0000 Subject: [PATCH] Do printf formatting properly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85514 13f79535-47bb-0310-9956-ffa450edef68 --- modules/filters/mod_include.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/filters/mod_include.c b/modules/filters/mod_include.c index 16c1086a07..38f043ba48 100644 --- a/modules/filters/mod_include.c +++ b/modules/filters/mod_include.c @@ -1193,11 +1193,7 @@ static int handle_fsize(ap_file_t *in, request_rec *r, const char *error, int si } else { int l, x; -#if defined(AP_OFF_T_IS_QUAD) - ap_snprintf(tag, sizeof(tag), "%qd", finfo.size); -#else - ap_snprintf(tag, sizeof(tag), "%ld", (long)finfo.size); -#endif + ap_snprintf(tag, sizeof(tag), "%" APR_OFF_T_FMT, finfo.size); l = strlen(tag); /* grrr */ for (x = 0; x < l; x++) { if (x && (!((l - x) % 3))) { -- 2.50.1