From a8768c8546d3cac236f5ecf535e48b51b9452bc8 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Wed, 25 Nov 2009 01:19:03 +0000 Subject: [PATCH] 2009-11-25 02:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/bldtest/bldtest.c * disabled requirement for signed 'char' type - current Harbour code should work with 'char' defined as signed and unsigned value. --- harbour/ChangeLog | 5 +++++ harbour/tests/bldtest/bldtest.c | 7 +------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 1f2a248204..a2134c3479 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,11 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-11-25 02:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/tests/bldtest/bldtest.c + * disabled requirement for signed 'char' type - current Harbour code + should work with 'char' defined as signed and unsigned value. + 2009-11-25 00:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/fm.c * enabled HB_FM_DL_ALLOC by default in OS2 OpenWatcom builds diff --git a/harbour/tests/bldtest/bldtest.c b/harbour/tests/bldtest/bldtest.c index 75f0973beb..ec3f32e4a8 100644 --- a/harbour/tests/bldtest/bldtest.c +++ b/harbour/tests/bldtest/bldtest.c @@ -92,12 +92,7 @@ int main() } n = (char)255; - printf( "n=%d -> (char) type is %ssinged %s\n", n, n < 0 ? "" : "un", - n < 0 ? "OK" : "BAD" ); - if ( n >= 0 ) - { - iRet = 1; - } + printf( "n=%d -> (char) type is %ssigned\n", n, n < 0 ? "" : "un" ); if ( iRet ) {