diff options
Diffstat (limited to 'testsuites/psxtests/psxtimer02/psxtimer.c')
-rw-r--r-- | testsuites/psxtests/psxtimer02/psxtimer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxtimer02/psxtimer.c b/testsuites/psxtests/psxtimer02/psxtimer.c index 22355387c7..b660a412c7 100644 --- a/testsuites/psxtests/psxtimer02/psxtimer.c +++ b/testsuites/psxtests/psxtimer02/psxtimer.c @@ -12,7 +12,7 @@ * * Other POSIX facilities such as timers, condition, .. is also used * - * COPYRIGHT (c) 1989-2008. + * COPYRIGHT (c) 1989-2009. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -51,7 +51,7 @@ void *POSIX_Init ( puts( "\n\n*** POSIX Timers Test 02 ***" ); puts( "timer_create - bad clock id - EINVAL" ); - status = timer_create( -1, &event, &timer ); + status = timer_create( (timer_t) -1, &event, &timer ); fatal_posix_service_status_errno( status, EINVAL, "bad clock id" ); puts( "timer_create - bad timer id pointer - EINVAL" ); |