Commit 132f5e5f by Uros Bizjak Committed by Uros Bizjak

pass59-frag.c (main): Fix casting of arg.

        * testsuite/libmudflap.cth/pass59-frag.c (main): Fix casting of arg.

From-SVN: r122911
parent 8c5fd59f
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment