]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing 64 bit value transfer
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 4 Apr 2009 09:05:21 +0000 (09:05 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 4 Apr 2009 09:05:21 +0000 (09:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/carbon/mediactrl.cpp

index 662469dfefe9c1ca5003d01f69534a6b72de3de2..56503d2df06c00d6af56a72a3d2ed73a4dbefbbf 100644 (file)
@@ -764,7 +764,8 @@ bool wxQTMediaBackend::SetPosition(wxLongLong where)
 {
     TimeRecord theTimeRecord;
     memset(&theTimeRecord, 0, sizeof(TimeRecord));
-    theTimeRecord.value.lo = where.GetValue();
+    theTimeRecord.value.lo = where.GetLo();
+    theTimeRecord.value.hi = where.GetHi();
     theTimeRecord.scale = ::GetMovieTimeScale(m_movie);
     theTimeRecord.base = ::GetMovieTimeBase(m_movie);
     ::SetMovieTime(m_movie, &theTimeRecord);