diff options
Diffstat (limited to 'testsuites/libtests')
-rw-r--r-- | testsuites/libtests/ChangeLog | 6 | ||||
-rw-r--r-- | testsuites/libtests/termios01/init.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/testsuites/libtests/ChangeLog b/testsuites/libtests/ChangeLog index 2027bad6f8..23fa393c3f 100644 --- a/testsuites/libtests/ChangeLog +++ b/testsuites/libtests/ChangeLog @@ -1,5 +1,11 @@ 2010-08-10 Joel Sherrill <joel.sherrill@oarcorp.com> + PR 1664/testing + * termios01/init.c: Use INT_MAX instead of hard-coded number for error + case to avoid warning on 16-bit targets. + +2010-08-10 Joel Sherrill <joel.sherrill@oarcorp.com> + PR 1661/testing * malloc04/init.c: Add public methods to get/set malloc heap pointer so the tests do not have to peer behind the API. diff --git a/testsuites/libtests/termios01/init.c b/testsuites/libtests/termios01/init.c index ce2afe456d..fddd00e024 100644 --- a/testsuites/libtests/termios01/init.c +++ b/testsuites/libtests/termios01/init.c @@ -497,7 +497,7 @@ rtems_task Init( * tcsetattr - ERROR invalid operation */ puts( "tcsetattr - invalid operation - ENOTSUP" ); - rc = tcsetattr( test, 0x12345, &t ); + rc = tcsetattr( test, INT_MAX, &t ); rtems_test_assert( rc == -1 ); rtems_test_assert( errno == ENOTSUP ); |