Fix some compiler warnings
This commit is contained in:
parent
8ed7144751
commit
379d5ca376
3 changed files with 17 additions and 5 deletions
|
|
@ -97,6 +97,8 @@ int Session::getAudioRendererCapabilities(int audioConfiguration)
|
|||
{
|
||||
int caps = 0;
|
||||
|
||||
Q_UNUSED(audioConfiguration);
|
||||
|
||||
// All audio renderers support arbitrary audio duration
|
||||
caps |= CAPABILITY_SUPPORTS_ARBITRARY_AUDIO_DURATION;
|
||||
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ double BandwidthTracker::GetPeakMbps() {
|
|||
}
|
||||
|
||||
unsigned int BandwidthTracker::GetWindowSeconds() {
|
||||
return windowSeconds.count();
|
||||
return (unsigned int)windowSeconds.count();
|
||||
}
|
||||
|
||||
/// private methods
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue