]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing compilo for 10.5
authorStefan Csomor <csomor@advancedconcepts.ch>
Fri, 11 Aug 2006 04:28:16 +0000 (04:28 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Fri, 11 Aug 2006 04:28:16 +0000 (04:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/thread.cpp

index 2a2f9a74400c966e0378716e7582cfec80fcb44e..7a981d6206b2208b99136c3f7f9007386cabe3c1 100644 (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!