Re: [PATCH] fast_export.c: Fix a compiler warning

2012-08-21 Thread Ramsay Jones
Florian Achleitner wrote: > On Sunday 19 August 2012 16:29:02 Ramsay Jones wrote: > Ok, I'll add it to the next version. This warning only occurs when building > for 32bit, thus I never saw it. There would be a format flag for printf that > sprecifies the platform's size_t integer type: "z". >

Re: [PATCH] fast_export.c: Fix a compiler warning

2012-08-19 Thread Junio C Hamano
Florian Achleitner writes: >> If you need to re-roll your patches in the 'fa/remote-svn' branch, could >> you please squash this fix into them. [This was implemented on top of >> commit 2ce959ba, but you will probably want to make the equivalent change >> to commit d319a37c ("Create a note for ev

Re: [PATCH] fast_export.c: Fix a compiler warning

2012-08-19 Thread Florian Achleitner
On Sunday 19 August 2012 16:29:02 Ramsay Jones wrote: > In particular, gcc complains thus: > > CC vcs-svn/fast_export.o > vcs-svn/fast_export.c: In function 'fast_export_begin_note': > vcs-svn/fast_export.c:77: warning: long long unsigned int format, \ > different type arg

[PATCH] fast_export.c: Fix a compiler warning

2012-08-19 Thread Ramsay Jones
In particular, gcc complains thus: CC vcs-svn/fast_export.o vcs-svn/fast_export.c: In function 'fast_export_begin_note': vcs-svn/fast_export.c:77: warning: long long unsigned int format, \ different type arg (arg 2) In order to fix the warning, we cast the second size_t a