aboutsummaryrefslogtreecommitdiff
path: root/www/mod_log_sql2/files/patch-functions13.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_log_sql2/files/patch-functions13.h')
-rw-r--r--www/mod_log_sql2/files/patch-functions13.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/mod_log_sql2/files/patch-functions13.h b/www/mod_log_sql2/files/patch-functions13.h
new file mode 100644
index 000000000000..4fda5d4d58bc
--- /dev/null
+++ b/www/mod_log_sql2/files/patch-functions13.h
@@ -0,0 +1,11 @@
+--- functions13.h.orig Fri Apr 16 15:03:25 2004
++++ functions13.h Fri Apr 16 15:03:46 2004
+@@ -37,7 +37,7 @@
+
+ static const char *extract_request_duration(request_rec *r, char *a)
+ {
+- return ap_psprintf(r->pool, "%ld", time(NULL) - r->request_time);
++ return ap_psprintf(r->pool, "%ld", (long)time(NULL) - r->request_time);
+ }
+
+ static const char *extract_request_timestamp(request_rec *r, char *a)