--- src/func_tests/test_1_to_1_threads.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/func_tests/test_1_to_1_threads.c b/src/func_tests/test_1_to_1_threads.c index 84b9fb2..bc843df 100644 --- a/src/func_tests/test_1_to_1_threads.c +++ b/src/func_tests/test_1_to_1_threads.c @@ -174,7 +174,7 @@ main(void) for ( i = 0; i < THREAD_SND_RCV_LOOPS; i++ ) { for (cnt = 1; cnt < THREADS; cnt++) { status = pthread_create(&thread[cnt], &attr, - (void *)relay, (void*)cnt); + (void *)relay, (void*)(long)cnt); if (status) tst_brkm(TBROK, tst_exit, "pthread_create " "failed status:%d, errno:%d", status, -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-sctp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html