On Tue, Aug 17, 2010 at 2:16 AM, Robert Story <[email protected]> wrote:

> On Mon, 16 Aug 2010 17:17:04 +0200 Bart wrote:
> BVA> Because that would allow you to write -1 instead of (char)-1 -- that's
> one
> BVA> ugly cast less.
>
> I'll probably change that to 0xff in the final version of the patch... so
> no
> ugly cast.
>

There might be compilers that report an out-of-range warning when assigning
0xff to a char variable, at least if that compiler treats char as a signed
variable.

Bart.
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to