diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2007-03-14 08:53:32 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2007-03-14 08:53:32 +0100 |
commit | 132f5e5f8d5a48ddf1704a608bf31ae979da662b (patch) | |
tree | 0d6bbd43e722703d341685f1b38b88d613828d87 /libmudflap/testsuite | |
parent | 8c5fd59f94de0dd09cd451c532fe746dab52dfca (diff) | |
download | gcc-132f5e5f8d5a48ddf1704a608bf31ae979da662b.zip gcc-132f5e5f8d5a48ddf1704a608bf31ae979da662b.tar.gz gcc-132f5e5f8d5a48ddf1704a608bf31ae979da662b.tar.bz2 |
pass59-frag.c (main): Fix casting of arg.
* testsuite/libmudflap.cth/pass59-frag.c (main): Fix casting of arg.
From-SVN: r122911
Diffstat (limited to 'libmudflap/testsuite')
-rw-r--r-- | libmudflap/testsuite/libmudflap.cth/pass59-frag.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmudflap/testsuite/libmudflap.cth/pass59-frag.c b/libmudflap/testsuite/libmudflap.cth/pass59-frag.c index bf6c293..4901306 100644 --- a/libmudflap/testsuite/libmudflap.cth/pass59-frag.c +++ b/libmudflap/testsuite/libmudflap.cth/pass59-frag.c @@ -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; |