From: Junio C Hamano Date: Tue, 10 May 2005 06:44:02 GMT Subject: Re: [PATCH] minor Makefile and local-pull.c edits for Darwin Message-ID: <7vpsvzpolp.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <428038D0.5000706@zytor.com> >>>>> "HPA" == H Peter Anvin writes: HPA> This is just plain WRONG. st.st_size is longer than long on many HPA> architectures, including Linux/i386. HPA> The easiest way to deal with it is to #include , use %jd HPA> and cast it to (intmax_t). That is, however, a C99-ism. Actually the easiest way is to stop reporting the size. Nobody else in core GIT reports st.st_size in their error messages. Although I agree with you that what you say about the size of st.st_size is correct, in GIT world view, apparently "unsigned long" is big enough to hold st.st_size all over the code. Would you recommend tackling that assumption as well?