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." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
> 
> 
> 
> 
> 
> 

Reply via email to