summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx02/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psx02/init.c')
-rw-r--r--testsuites/psxtests/psx02/init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuites/psxtests/psx02/init.c b/testsuites/psxtests/psx02/init.c
index 48060fd7ae..5cbc9ed8f7 100644
--- a/testsuites/psxtests/psx02/init.c
+++ b/testsuites/psxtests/psx02/init.c
@@ -23,8 +23,8 @@ void Signal_handler(
Signal_count++;
printf(
"Signal: %d caught by 0x%x (%d)\n",
- signo,
- pthread_self(),
+ (int) signo,
+ (unsigned int) pthread_self(),
Signal_count
);
Signal_occurred = 1;
@@ -86,7 +86,7 @@ void *POSIX_Init(
status = sigpending( &pending_set );
assert( !status );
- printf( "Init: Signals pending 0x%08x\n", pending_set );
+ printf( "Init: Signals pending 0x%08x\n", (unsigned int) pending_set );
printf( "Init: send SIGUSR1 to self\n" );
@@ -95,7 +95,7 @@ void *POSIX_Init(
status = sigpending( &pending_set );
assert( !status );
- printf( "Init: Signals pending 0x%08x\n", pending_set );
+ printf( "Init: Signals pending 0x%08x\n", (unsigned int) pending_set );
printf( "Init: Unblock SIGUSR1\n" );
status = sigprocmask( SIG_UNBLOCK, &mask, NULL );