[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Test results from base Linux/PPC
From: |
Richard Frith-Macdonald |
Subject: |
Re: Test results from base Linux/PPC |
Date: |
Mon, 4 Apr 2011 17:37:03 +0100 |
On 4 Apr 2011, at 15:56, Wolfgang Lux wrote:
> --- Running tests in base/NSNumber ---
>
> base/NSNumber/test00.m:
> Failed test: test00.m:111 ... NSDecimalNumber charValue works
>
> The latter of these fails due to a mismatch between signed and unsigned char.
> The test uses
> (char)200 == [val1 charValue]
> The result of charValue is signed char, but char is unsigned by default on
> powerpc.
Thanks ... I just changed the test to be '(signed char)200 == [val1 charValue]'
since, for consistency, charValue always returns a signed char.