From: uros Date: Wed, 14 Mar 2007 07:53:32 +0000 (+0000) Subject: * testsuite/libmudflap.cth/pass59-frag.c (main): Fix casting of arg. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=352b5fffc4d370f1464e06010739e53fcf768881;p=thirdparty%2Fgcc.git * testsuite/libmudflap.cth/pass59-frag.c (main): Fix casting of arg. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122911 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libmudflap/ChangeLog b/libmudflap/ChangeLog index b331aab4a7e0..8a86b6606f50 100644 --- a/libmudflap/ChangeLog +++ b/libmudflap/ChangeLog @@ -1,3 +1,7 @@ +2007-03-14 Uros Bizjak + + * testsuite/libmudflap.cth/pass59-frag.c (main): Fix casting of arg. + 2007-03-01 Brooks Moses * Makefile.am: Add dummy install-pdf target. diff --git a/libmudflap/testsuite/libmudflap.cth/pass59-frag.c b/libmudflap/testsuite/libmudflap.cth/pass59-frag.c index bf6c293136d5..49013067705a 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;