summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/filters/mod_include.c6
1 files changed, 1 insertions, 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))) {