Re: [PATCH] Convert size datatype to size_t

2017-08-09 Thread Johannes Schindelin
Hi Martin, On Tue, 8 Aug 2017, Martin Koegler wrote: > From: Martin Koegler > > It changes the signature of the core object access function > including any other functions to assure a clean compile if > sizeof(size_t) != sizeof(unsigned long). > > Signed-off-by:

Re: [PATCH] Convert size datatype to size_t

2017-08-09 Thread Johannes Schindelin
Hi, On Wed, 9 Aug 2017, Junio C Hamano wrote: > Martin Koegler writes: > > > On Wed, Aug 09, 2017 at 09:19:06AM +0200, Martin Koegler wrote: > >> On Tue, Aug 08, 2017 at 11:04:20PM -0700, Junio C Hamano wrote: > >> > As https://travis-ci.org/git/git/jobs/262463159

Re: [PATCH] Convert size datatype to size_t

2017-08-09 Thread Junio C Hamano
Martin Koegler writes: > On Wed, Aug 09, 2017 at 09:19:06AM +0200, Martin Koegler wrote: >> On Tue, Aug 08, 2017 at 11:04:20PM -0700, Junio C Hamano wrote: >> > As https://travis-ci.org/git/git/jobs/262463159 shows, unfortunately >> > it turns out that things are not so

Re: [PATCH] Convert size datatype to size_t

2017-08-09 Thread Martin Koegler
On Wed, Aug 09, 2017 at 09:19:06AM +0200, Martin Koegler wrote: > On Tue, Aug 08, 2017 at 11:04:20PM -0700, Junio C Hamano wrote: > > As https://travis-ci.org/git/git/jobs/262463159 shows, unfortunately > > it turns out that things are not so simple X-<. On Linux32, size_t > > is uint, which is

Re: [PATCH] Convert size datatype to size_t

2017-08-09 Thread Martin Koegler
On Tue, Aug 08, 2017 at 11:04:20PM -0700, Junio C Hamano wrote: > Martin Koegler writes: > > > From: Martin Koegler > > > > It changes the signature of the core object access function > > including any other functions to assure a clean compile

Re: [PATCH] Convert size datatype to size_t

2017-08-09 Thread Junio C Hamano
Martin Koegler writes: > From: Martin Koegler > > It changes the signature of the core object access function > including any other functions to assure a clean compile if > sizeof(size_t) != sizeof(unsigned long). As

Re: [PATCH] Convert size datatype to size_t

2017-08-08 Thread Junio C Hamano
Martin Koegler writes: > diff --git a/apply.c b/apply.c > index f2d5991..ea97fd2 100644 > --- a/apply.c > +++ b/apply.c > @@ -3085,7 +3085,7 @@ static int apply_binary_fragment(struct apply_state > *state, >struct patch *patch) > { >

Re: [PATCH] Convert size datatype to size_t

2017-08-08 Thread Junio C Hamano
Martin Koegler writes: > From: Martin Koegler > > It changes the signature of the core object access function > including any other functions to assure a clean compile if > sizeof(size_t) != sizeof(unsigned long). > > Signed-off-by: Martin

[PATCH] Convert size datatype to size_t

2017-08-08 Thread Martin Koegler
From: Martin Koegler It changes the signature of the core object access function including any other functions to assure a clean compile if sizeof(size_t) != sizeof(unsigned long). Signed-off-by: Martin Koegler --- There is much more to