mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-19 07:01:02 +00:00
Fix some compiler warnings
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user