Permalink
Browse files

[cosmetic] CDVDMessageQueue: fix "conversion from 'counst double' to …

…'int', possible loss of data" warning
  • Loading branch information...
1 parent 119da7c commit 14834ab1770e14652fec94d1d87c132fe6806645 @Montellese Montellese committed Jul 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/cores/dvdplayer/DVDMessageQueue.cpp
@@ -264,7 +264,7 @@ int CDVDMessageQueue::GetTimeSize() const
if(IsDataBased())
return 0;
else
- return (m_TimeFront - m_TimeBack) / DVD_TIME_BASE;
+ return (int)((m_TimeFront - m_TimeBack) / DVD_TIME_BASE);
}
bool CDVDMessageQueue::IsDataBased() const

0 comments on commit 14834ab

Please sign in to comment.