pass59-frag.c (main): Fix casting of arg.
* testsuite/libmudflap.cth/pass59-frag.c (main): Fix casting of arg. From-SVN: r122911
This commit is contained in:
parent
8c5fd59f94
commit
132f5e5f8d
@ -1,3 +1,7 @@
|
||||
2007-03-14 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* testsuite/libmudflap.cth/pass59-frag.c (main): Fix casting of arg.
|
||||
|
||||
2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
|
||||
|
||||
* Makefile.am: Add dummy install-pdf target.
|
||||
|
@ -13,8 +13,8 @@ void* test_thread(void* arg)
|
||||
int main()
|
||||
{
|
||||
pthread_t thread;
|
||||
int arg = 0;
|
||||
pthread_create(&thread, NULL, test_thread, (void*)arg);
|
||||
void *arg = NULL;
|
||||
pthread_create(&thread, NULL, test_thread, arg);
|
||||
pthread_join(thread, NULL);
|
||||
pthread_exit(NULL);
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user