]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* testsuite/libmudflap.cth/pass59-frag.c (main): Fix casting of arg.
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Mar 2007 07:53:32 +0000 (07:53 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Mar 2007 07:53:32 +0000 (07:53 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122911 138bc75d-0d04-0410-961f-82ee72b054a4

libmudflap/ChangeLog
libmudflap/testsuite/libmudflap.cth/pass59-frag.c

index b331aab4a7e065147c9ebfa25fc7f08e78856768..8a86b6606f5053791c2d0276b2afa3cbd54e5f95 100644 (file)
@@ -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.
index bf6c293136d572ad5affa221d05309a703267411..49013067705af3162f004b6f8cf1e8038d2d07f5 100644 (file)
@@ -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;