From: Stefan Csomor Date: Fri, 11 Aug 2006 04:28:16 +0000 (+0000) Subject: fixing compilo for 10.5 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0973b7df99407013717cc0cbe7fca4b3700cfafd fixing compilo for 10.5 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/thread.cpp b/src/mac/carbon/thread.cpp index 2a2f9a7440..7a981d6206 100644 --- a/src/mac/carbon/thread.cpp +++ b/src/mac/carbon/thread.cpp @@ -1039,7 +1039,7 @@ OSStatus wxThreadInternal::MacThreadStart(void *parameter) wxThreadInternal *pthread = thread->m_internal; // add to TLS so that This() will work - verify_noerr( MPSetTaskStorageValue( gs_tlsForWXThread , (long) thread ) ) ; + verify_noerr( MPSetTaskStorageValue( gs_tlsForWXThread , (TaskStorageValue) thread ) ) ; // have to declare this before pthread_cleanup_push() which defines a // block!