On Sun, Nov 23, 2008 at 2:57 PM, John Matthews <[EMAIL PROTECTED]> wrote:
> --- In [email protected], Thomas Hruska <[EMAIL PROTECTED]> wrote:
>>
>> BTW, you should have your compiler warnings turned up so that you get a
>> warning for assigning a signed value to an unsigned variable.
>
> Thomas- is this easy in Microsoft world? And anyone know the gcc
> equivalent? Gcc's -Wall 'all warnings' option doesn't include it.

If you include 'unsigned' in the cast, then there won't be a warning,
since you're not longer assigning a signed value to an unsigned one.

-- 
PJH

http://shabbleland.myminicity.com/tra

Reply via email to