[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: apr_off_t is of an ambiguous size.

From: Russell Yanofsky <rey4_at_columbia.edu>
Date: 2004-01-17 02:45:02 CET

Ben Reser wrote:
> const apr_off_t min = ((apr_off_t) sizeof (apr_off_t)-1) <<
> ((sizeof (apr_off_t)*8)-1);

Again, this should be

   const apr_off_t min = ((apr_off_t) 1) <<
                         ((sizeof (apr_off_t)*8)-1);

- Russ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jan 17 02:50:56 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.