chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] Use machine dependent size type for alloca


From: Alan Post
Subject: Re: [Chicken-hackers] [PATCH] Use machine dependent size type for allocate_vector_2
Date: Tue, 11 Oct 2011 08:46:07 -0600

On Tue, Oct 11, 2011 at 02:02:59PM +0200, Christian Kellermann wrote:
> Hi all,
> 
> please find a patch attached to this mail that fixes a datatype in
> allocation of a vector.
> 
> I believe this to cause problems on systems where int is not a 32
> bit wide value and size of the vector overflows in 32 bits.
> 
> Kind regards,
> 
> Christian
> 
> -- 
> Who can (make) the muddy water (clear)? Let it be still, and it will
> gradually become clear. Who can secure the condition of rest? Let
> movement go on, and the condition of rest will gradually arise.
>  -- Lao Tse. 

I really like seeing type fixes like this.  This patch looks good to
me.

-Alan
-- 
.i ma'a lo bradi cu penmi gi'e du



reply via email to

[Prev in Thread] Current Thread [Next in Thread]