[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:40:43 CET

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

Looks like something was added in translation there. The (sizeof(long
long) - 1) should be replaced with just 1. Either one will work, because any
odd number will work, but 1 makes more sense:

  min = (long long) 1 << (sizeof(long long)*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:38:12 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.