summaryrefslogtreecommitdiff
path: root/www/mod_log_sql2/files/patch-functions13.h
blob: 4fda5d4d58bc63ddabc2ee7ceadc9795a217a542 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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)