--- testsuites/psxtests/psxconfig01/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testsuites/psxtests/psxconfig01/init.c b/testsuites/psxtests/psxconfig01/init.c index ea8cd5d..0a3de1b 100644 --- a/testsuites/psxtests/psxconfig01/init.c +++ b/testsuites/psxtests/psxconfig01/init.c @@ -309,7 +309,7 @@ static rtems_task Init(rtems_task_argument argument) eno = pthread_key_create(&key, posix_key_dtor); rtems_test_assert(eno == 0); - eno = pthread_setspecific(key, (void *) (i + 1)); + eno = pthread_setspecific(key, (void *) (uintptr_t)(i + 1)); rtems_test_assert(eno == 0); } eno = pthread_key_create(&key, posix_key_dtor); -- 1.9.3 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel