Yi Xu wrote: > Hello, > > since the function pthread_exit() takes pointer, so I did a small patch as > attached. It was a compiling warning some time before, but in strict case, it > becomes an error. > > Thanks for reviewing, > Yi > > ------------------------------------------------------------------------ > > --- testcases/kernel/io/disktest/threading.h.orig 2007-06-12 > 17:13:17.343327000 +0200 > +++ testcases/kernel/io/disktest/threading.h 2007-06-12 17:12:28.684035000 > +0200 > @@ -116,7 +116,7 @@ > #define UNLOCK(Mutex) \ > pthread_mutex_unlock(&Mutex); \ > pthread_cleanup_pop(0) > -#define TEXIT(errno) pthread_exit(errno) > +#define TEXIT(errno) pthread_exit((void*)errno) > Sounds good. Carmelo > > #define ISTHREADVALID(thread) (thread != 0) > #endif > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ------------------------------------------------------------------------ > > _______________________________________________ > Ltp-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-list >
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
