httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@covalent.net>
Subject Re: Simple warning, simple fix?
Date Mon, 01 Oct 2001 15:07:32 GMT
My bad, that's an http_ctx that Justin added in the .c source (no wonder
my grep of *.h didn't find anything ;)  

I'll patch that new struct to apr_off_t in a bit.  c->remaining was
already apr_off_t.

----- Original Message ----- 
From: "William A. Rowe, Jr." <wrowe@rowe-clan.net>
To: <dev@httpd.apache.org>
Sent: Monday, October 01, 2001 9:44 AM
Subject: Simple warning, simple fix?


> Should c->remaining become an apr_off_t?
> 
>     rv = ap_get_brigade(f->next, b, mode, readbytes);
> 
>     if (rv != APR_SUCCESS)
>         return rv;
> 
>     if (ctx->state != BODY_NONE)
> >>      ctx->remaining -= *readbytes;
> 
> 
> >> C:\clean\httpd-2.0\modules\http\http_protocol.c(581) : warning C4244: '-=' :
conversion from '__int64 ' to 'unsigned int ',
> possible loss of data
> 
> 
> 
> 
> 
> 


Mime
View raw message