Fixing warning C4267 on Win (more_configs).
This is a follow-up of https://webrtc-review.googlesource.com/c/src/+/12921. Bug: chromium:759980 Change-Id: Ifd39adb6541c0c7e0337f587a8b34b84a07331ed Reviewed-on: https://webrtc-review.googlesource.com/13122 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20341}
This commit is contained in:
committed by
Commit Bot
parent
117c48291c
commit
737e073f8d
@ -14,6 +14,7 @@
|
||||
#include "common_audio/vad/mock/mock_vad.h"
|
||||
#include "modules/audio_coding/codecs/cng/audio_encoder_cng.h"
|
||||
#include "rtc_base/constructormagic.h"
|
||||
#include "rtc_base/safe_conversions.h"
|
||||
#include "test/gtest.h"
|
||||
#include "test/mock_audio_encoder.h"
|
||||
|
||||
@ -290,7 +291,8 @@ TEST_F(AudioEncoderCngTest, EncodePassive) {
|
||||
encoded_info_.encoded_bytes);
|
||||
EXPECT_EQ(expected_timestamp, encoded_info_.encoded_timestamp);
|
||||
}
|
||||
expected_timestamp += kBlocksPerFrame * num_audio_samples_10ms_;
|
||||
expected_timestamp += rtc::checked_cast<uint32_t>(
|
||||
kBlocksPerFrame * num_audio_samples_10ms_);
|
||||
} else {
|
||||
// Otherwise, expect no output.
|
||||
EXPECT_EQ(0u, encoded_info_.encoded_bytes);
|
||||
|
||||
Reference in New Issue
Block a user