]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/threadpsx.cpp
1. added wfstream.cpp to wxBase (needed by filesys.cpp)
[wxWidgets.git] / src / unix / threadpsx.cpp
index d708dbd7032d1108c52456cb5ada8d92ac4a76bb..5bbb54a77826457f2ea1dc0bfbd0491a617e2add 100644 (file)
@@ -749,7 +749,7 @@ void wxThreadInternal::Wait()
             //       we're cancelled inside pthread_join(), things will almost
             //       certainly break - but if we disable the cancellation, we
             //       might deadlock
             //       we're cancelled inside pthread_join(), things will almost
             //       certainly break - but if we disable the cancellation, we
             //       might deadlock
-            if ( pthread_join((pthread *)id, &m_exitcode) != 0 )
+            if ( pthread_join((pthread_t)id, &m_exitcode) != 0 )
             {
                 wxLogError(_("Failed to join a thread, potential memory leak "
                              "detected - please restart the program"));
             {
                 wxLogError(_("Failed to join a thread, potential memory leak "
                              "detected - please restart the program"));