Skip to content

Commit

Permalink
Change return type in saturated_cast call
Browse files Browse the repository at this point in the history
BUG=none
TEST=media_unittests pass

Review URL: https://codereview.chromium.org/681523002

Cr-Commit-Position: refs/heads/master@{#301670}
  • Loading branch information
jrummell-chromium authored and Commit bot committed Oct 28, 2014
1 parent b465756 commit 8c09933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media/audio/audio_device_thread.cc
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ void AudioDeviceThread::Thread::Run() {
// and even if it does, it would only cause a temporary loss
// of A/V sync which is much better than crashing or halting
// playback.
callback_->Process(base::saturated_cast<uint32>(pending_data));
callback_->Process(base::saturated_cast<int>(pending_data));
}
}

Expand Down

0 comments on commit 8c09933

Please sign in to comment.