diff options
Diffstat (limited to 'Source/kwsys/kwsysPlatformCxxTests.cxx')
-rw-r--r-- | Source/kwsys/kwsysPlatformCxxTests.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/kwsysPlatformCxxTests.cxx b/Source/kwsys/kwsysPlatformCxxTests.cxx index e921676..8048acf 100644 --- a/Source/kwsys/kwsysPlatformCxxTests.cxx +++ b/Source/kwsys/kwsysPlatformCxxTests.cxx @@ -267,11 +267,11 @@ int main() #endif #ifdef TEST_KWSYS_CHAR_IS_SIGNED -/* Return 1 for char signed and 0 for char unsigned. */ +/* Return 0 for char signed and 1 for char unsigned. */ int main() { unsigned char uc = 255; - return (*reinterpret_cast<char*>(&uc) < 0)?1:0; + return (*reinterpret_cast<char*>(&uc) < 0)?0:1; } #endif |