[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-dev
Subject:    Re: [asterisk-dev] Asterisk 1.2.3 Released - Critical Update...
From:       James Courtier-Dutton <james.dutton () gmail ! com>
Date:       2006-01-27 12:50:57
Message-ID: ad2655cb0601270450g3ecc0d03w () mail ! gmail ! com
[Download RAW message or body]

On 27/01/06, tim panton <tpanton@attglobal.net> wrote:
>
> If I read the patch right this was a bug where a signed 32bit quantity wa=
s
> treated as if it were unsigned (or the other was around).
>
> You'll only catch this kind of thing with lint, and/or strict use of
> macros/functions to do time comparisons.
>

I thought that gcc warns when comparing signed and unsigned quantities.
gcc cannot warn about wrap arounds though.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic