Re: [PATCH 1/9] Convert pack-objects to size_t
- From
Martin Koegler <martin.koegler@chello.at>
- Date
- Aug 13, 2017, 18:30 UTC
- Message-ID
- <20170813183026.GC31079@mail.zuhause>
- In-Reply-To
- <87fc215e-b860-10f5-5c5e-60652502fae8@ramsayjones.plus.com>
On Sat, Aug 12, 2017 at 02:47:25PM +0100, Ramsay Jones wrote:
> On 32-bit Linux, off_t is 64-bit and size_t is 32-bit.
--- t.c --- #include <stddef.h> #include <stdio.h>
int main() { printf("%d %d\n", sizeof(size_t), sizeof(off_t)); } ------------ $ gcc -m32 -o t t.c $ ./t.c 4 4
So is that really true?
Regards, Martin