From 001b9925fcd3e0151ea325ad6f43c3f59576ac2c Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 24 Jul 2018 12:46:02 +0200 Subject: psxtimer02: Fix parameter type cast --- testsuites/psxtests/psxtimer02/psxtimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites') diff --git a/testsuites/psxtests/psxtimer02/psxtimer.c b/testsuites/psxtests/psxtimer02/psxtimer.c index e4d6d7d332..9f79d33c42 100644 --- a/testsuites/psxtests/psxtimer02/psxtimer.c +++ b/testsuites/psxtests/psxtimer02/psxtimer.c @@ -55,7 +55,7 @@ void *POSIX_Init ( TEST_BEGIN(); puts( "timer_create - bad clock id - EINVAL" ); - status = timer_create( (timer_t) -1, &event, &timer ); + status = timer_create( (clockid_t) -1, &event, &timer ); fatal_posix_service_status_errno( status, EINVAL, "bad clock id" ); puts( "timer_create - bad timer id pointer - EINVAL" ); -- cgit v1.2.3