httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject [PATCH] mod_status warnings
Date Sat, 10 Jan 1998 04:54:55 GMT
Index: mod_status.c
===================================================================
RCS file: /export/home/cvs/apachen/src/modules/standard/mod_status.c,v
retrieving revision 1.70
diff -u -r1.70 mod_status.c
--- mod_status.c	1998/01/07 16:46:57	1.70
+++ mod_status.c	1998/01/10 04:44:30
@@ -364,12 +364,14 @@
 		    (float) count / (float) up_time);
 
 	if (up_time > 0) {
-	    format_byte_out(r, KBYTE * (float) kbcount / (float) up_time);
+	    format_byte_out(r, (unsigned long) 
+               (KBYTE * (float) kbcount / (float) up_time));
 	    rputs("/second - ", r);
 	}
 
 	if (count > 0) {
-	    format_byte_out(r, KBYTE * (float) kbcount / (float) count);
+	    format_byte_out(r, (unsigned long) 
+                (KBYTE * (float) kbcount / (float) count));
 	    rputs("/request", r);
 	}
 


Mime
View raw message