From: <ro...@us...> - 2003-04-17 18:44:17
|
Update of /cvsroot/ltp/ltp/testcases/kernel/sched/pthreads/pthread_exit In directory sc8-pr-cvs1:/tmp/cvs-serv1355a Modified Files: pthread_exit01.1-1.c Log Message: warnings cleanup Index: pthread_exit01.1-1.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/sched/pthreads/pthread_exit/pthread_exit01.1-1.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- pthread_exit01.1-1.c 10 Apr 2003 21:47:59 -0000 1.1 +++ pthread_exit01.1-1.c 17 Apr 2003 18:44:12 -0000 1.2 @@ -67,7 +67,7 @@ /* Check to make sure that 'value_ptr' that was passed to pthread_join() and the * pthread_exit() return code that was used in the thread funciton are the same. */ - if((int)value_ptr != RETURN_CODE) + if((long)value_ptr != RETURN_CODE) { printf("Test FAILED: pthread_exit() could not pass the return value of the thread in 'value_ptr' to pthread_join().\n"); return PTS_FAIL; |