Thread (1 message) 1 message, 1 author, 2016-06-15

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:07:06

Johannes Schindelin [off-list ref] writes:
Hi Junio,

On Mon, 26 Oct 2015, Junio C Hamano wrote:
quoted
Johannes Schindelin [off-list ref] writes:
quoted
We cannot rely on long integers to have more than 32 bits...

Signed-off-by: Johannes Schindelin <redacted>
---
Interesting.  8192 * 1024 * 1024 does not fit within 32-bit long, of
course.  Perhaps we can lose L after 1024 if we are explicitly
saying that the result ought to be size_t (which may be larger than
long)?
Sure. But it would make the patch harder to read.

Do you insist?
Not at all.  I think the series is already in 'next', and if I
haven't merged it yet, I should.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help