From: <ro...@us...> - 2003-04-17 18:45:47
|
Update of /cvsroot/ltp/ltp/testcases/kernel/sched/pthreads/pthread_join In directory sc8-pr-cvs1:/tmp/cvs-serv2199 Modified Files: pthread_join01.2-1.c Log Message: warnings cleanup Index: pthread_join01.2-1.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/sched/pthreads/pthread_join/pthread_join01.2-1.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- pthread_join01.2-1.c 11 Apr 2003 16:30:30 -0000 1.1 +++ pthread_join01.2-1.c 17 Apr 2003 18:45:44 -0000 1.2 @@ -68,7 +68,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_join() did not return the pthread_exit value of the thread in 'value_ptr'.\n"); return PTS_FAIL; |