From: Øyvind A. Holm Date: Thu, 17 May 2012 09:33:27 GMT Subject: Re: tr/xdiff-fast-hash generates warnings and breaks tests Message-ID: In-Reply-To: <4FB4A4B9.3080009@lsrfire.ath.cx> On 17 May 2012 09:11, René Scharfe wrote: > Am 17.05.2012 01:31, schrieb Øyvind A. Holm: > > On Debian GNU/Linux 6.0.5 (squeeze), the two commits on the > > tr/xdiff-fast-hash branch introduces compiler warnings and breaks > > t/t0020-crlf.sh and maybe later tests: > > What does the following short C program report when run (e.g. put it > in a file named s.c, then run "gcc -o s s.c" and "./s")? > >  #include >  int main(int argc, const char **argv) { >    printf("%u %u %u\n", sizeof(int), sizeof(long), sizeof(void *)); >    return 0; >  } The result is "4 4 4". > I suspect you run a 32-bit userland on a 64-bit kernel. Yes, it looks like that to me, too. FYI, this isn't my computer, but a login shell at a webhosting provider, so I don't know the exact details about the installation. Cheers, Øyvind