couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Candler <B.Cand...@pobox.com>
Subject Re: couchdb kills itself
Date Wed, 20 May 2009 19:55:42 GMT
On Wed, May 20, 2009 at 01:09:53PM -0400, Jeff Macdonald wrote:
> On Wed, May 20, 2009 at 11:38 AM, Brian Candler <B.Candler@pobox.com> wrote:
> > #include <fcntl.h>
> > #include <stdio.h>
> > int main(void)
> > {
> >  printf("%d\n", sizeof(off_t));
> >  return 0;
> > }
> >
> 
> $ gcc -Wall -o t t.c && ./t
> t.c: In function ‘main’:
> t.c:5: warning: format ‘%d’ expects type ‘int’, but argument 2 has
> type ‘long unsigned int’
> 8
> 
> $ uname -a
> Linux jmac 2.6.27.9-73.fc9.x86_64 #1 SMP Tue Dec 16 14:54:03 EST 2008
> x86_64 x86_64 x86_64 GNU/Linux

Sorry, didn't realise you were on a 64 bit platform. In that case, the
limitation seems very odd.

Mime
View raw message