diff --git a/src/msw/mediactrl.cpp b/src/msw/mediactrl.cpp index 2b1a0fd77b..7fb937113d 100644 --- a/src/msw/mediactrl.cpp +++ b/src/msw/mediactrl.cpp @@ -1080,7 +1080,13 @@ bool wxMCIMediaBackend::SetPosition(wxLongLong where) { MCI_SEEK_PARMS seekParms; seekParms.dwCallback = 0; +#if wxUSE_LONGLONG_NATIVE && !wxUSE_LONGLONG_WX seekParms.dwTo = (DWORD)where.GetValue(); +#else /* wxUSE_LONGLONG_WX */ + /* no way to return it in one piece */ + wxASSERT( where.GetHi()==0 ); + seekParms.dwTo = (DWORD)where.GetLo(); +#endif /* wxUSE_LONGLONG_* */ //device was playing? bool bReplay = GetState() == wxMEDIASTATE_PLAYING;