From 713185fd3f853d1518d0dd2b23a1317ecc01041d Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 30 Oct 2009 10:31:32 +0000 Subject: Use INT_MAX instead of 0xffffffff in call to kill() for 16bit compliance. --- testsuites/psxtests/psx04/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuites/psxtests/psx04/init.c b/testsuites/psxtests/psx04/init.c index 45f1a067cb..93719127d4 100644 --- a/testsuites/psxtests/psx04/init.c +++ b/testsuites/psxtests/psx04/init.c @@ -560,7 +560,7 @@ void *POSIX_Init( assert( !status ); puts( "Init: pthread_kill - SUCCESSFUL (signal = SIG_IGN)" ); - status = kill( 0x7fffffff, SIGUSR1 ); + status = kill( INT_MAX, SIGUSR1 ); if ( status != -1 ) printf( "status = %d\n", status ); assert( errno == ESRCH ); -- cgit v1.2.3