From e086af0fa3b98b91fa7374f7d24829a6ea87e994 Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Tue, 5 Aug 2014 17:10:52 +0000 Subject: [PATCH] Fix implicite cast from signed int to unsigned int in unittest.cc BUG=3636 TESTED=set GYP_DEFINES=target_arch=ia32 & call python webrtc\build\gyp_webrtc -G msvs_version=2013 & ninja -C out\Debug R=pthatcher@webrtc.org Review URL: https://webrtc-codereview.appspot.com/20069004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6827 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/video_coding/codecs/test_framework/unit_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/modules/video_coding/codecs/test_framework/unit_test.cc b/webrtc/modules/video_coding/codecs/test_framework/unit_test.cc index ec12a51693..ab8d4d2653 100644 --- a/webrtc/modules/video_coding/codecs/test_framework/unit_test.cc +++ b/webrtc/modules/video_coding/codecs/test_framework/unit_test.cc @@ -393,7 +393,7 @@ UnitTest::Perform() _inst.maxFramerate = 30; // Bad bitrate. - _inst.startBitrate = -1; + _inst.startBitrate = static_cast(-1); EXPECT_TRUE(_encoder->InitEncode(&_inst, 1, 1440) == WEBRTC_VIDEO_CODEC_ERR_PARAMETER); _inst.maxBitrate = _inst.startBitrate - 1;