From ab90136b4399206907b223901de8eab08955675e Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 20 Mar 2015 10:45:55 -0500 Subject: psxconfig01/init.c: Correct pointer/integer size warning --- 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 ea8cd5dc5a..0a3de1b919 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); -- cgit v1.2.3