[rtems commit] psxtimer02: Fix parameter type cast
Sebastian Huber
sebh at rtems.org
Tue Jul 24 12:37:15 UTC 2018
Module: rtems
Branch: master
Commit: 001b9925fcd3e0151ea325ad6f43c3f59576ac2c
Changeset: http://git.rtems.org/rtems/commit/?id=001b9925fcd3e0151ea325ad6f43c3f59576ac2c
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Jul 24 12:46:02 2018 +0200
psxtimer02: Fix parameter type cast
---
testsuites/psxtests/psxtimer02/psxtimer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testsuites/psxtests/psxtimer02/psxtimer.c b/testsuites/psxtests/psxtimer02/psxtimer.c
index e4d6d7d..9f79d33 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" );
More information about the vc
mailing list