fixing compilo for 10.5

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2006-08-11 04:28:16 +00:00
parent 3a5ff9b13b
commit 0973b7df99

View File

@@ -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!