Re: [PATCH 4/6] Squelch warning about an integer overflow

2015-10-30 Thread Johannes Schindelin
Hi Junio, On Mon, 26 Oct 2015, Junio C Hamano wrote: > Johannes Schindelin writes: > > > We cannot rely on long integers to have more than 32 bits... > > > > Signed-off-by: Johannes Schindelin > > --- > > Interesting. 8192 * 1024 *

Re: [PATCH 4/6] Squelch warning about an integer overflow

2015-10-30 Thread Junio C Hamano
Johannes Schindelin writes: > Hi Junio, > > On Mon, 26 Oct 2015, Junio C Hamano wrote: > >> Johannes Schindelin writes: >> >> > We cannot rely on long integers to have more than 32 bits... >> > >> > Signed-off-by: Johannes Schindelin

Re: [PATCH 4/6] Squelch warning about an integer overflow

2015-10-26 Thread Junio C Hamano
Johannes Schindelin writes: > We cannot rely on long integers to have more than 32 bits... > > Signed-off-by: Johannes Schindelin > --- Interesting. 8192 * 1024 * 1024 does not fit within 32-bit long, of course. Perhaps we can lose L

[PATCH 4/6] Squelch warning about an integer overflow

2015-10-26 Thread Johannes Schindelin
We cannot rely on long integers to have more than 32 bits... Signed-off-by: Johannes Schindelin --- git-compat-util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-compat-util.h b/git-compat-util.h index 805d0e2..610e8a5 100644 ---