httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Sutton <p...@eu.c2.net>
Subject Re: [PATCH] mod_status warnings
Date Sat, 10 Jan 1998 13:34:34 GMT
On Fri, 9 Jan 1998, Marc Slemko wrote:
> 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);
>  	}

+1


Mime
View raw message