Warning fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2004-12-20 20:34:41 +00:00
parent 2bacc6ab95
commit bbd030cd5c

View File

@ -487,7 +487,7 @@ void MyFrame::ResetStatus()
m_mediactrl->GetPlaybackRate()
);
m_slider->SetRange(0, (m_mediactrl->Length() / 1000));
m_slider->SetRange(0, (int)(m_mediactrl->Length() / 1000));
m_nLoops = 0;
}
@ -631,7 +631,7 @@ void MyFrame::OnMediaStop(wxMediaEvent& WXUNUSED(event))
// ----------------------------------------------------------------------------
void MyTimer::Notify()
{
long lPosition = (m_frame->m_mediactrl->Tell() / 1000);
long lPosition = (long)( m_frame->m_mediactrl->Tell() / 1000 );
m_frame->m_slider->SetValue(lPosition);
#if wxUSE_STATUSBAR