| Index: webrtc/modules/audio_coding/codecs/isac/fix/test/kenny.cc
|
| diff --git a/webrtc/modules/audio_coding/codecs/isac/fix/test/kenny.cc b/webrtc/modules/audio_coding/codecs/isac/fix/test/kenny.cc
|
| index 7f4272b9a566c57bb480d23ed988454a3645900a..ab7c640eedd326aa24d8c82627906a98de07e41d 100644
|
| --- a/webrtc/modules/audio_coding/codecs/isac/fix/test/kenny.cc
|
| +++ b/webrtc/modules/audio_coding/codecs/isac/fix/test/kenny.cc
|
| @@ -102,14 +102,15 @@ int main(int argc, char* argv[])
|
| int i, errtype, h = 0, k, packetLossPercent = 0;
|
| int16_t CodingMode;
|
| int16_t bottleneck;
|
| - int16_t framesize = 30; /* ms */
|
| + int framesize = 30; /* ms */
|
| int cur_framesmpls, err = 0, lostPackets = 0;
|
|
|
| /* Runtime statistics */
|
| double starttime, runtime, length_file;
|
|
|
| int16_t stream_len = 0;
|
| - int16_t framecnt, declen = 0;
|
| + int16_t framecnt;
|
| + int declen = 0;
|
| int16_t shortdata[FRAMESAMPLES_10ms];
|
| int16_t decoded[MAX_FRAMESAMPLES];
|
| uint16_t streamdata[500];
|
| @@ -767,7 +768,7 @@ int main(int argc, char* argv[])
|
| #else
|
| declen = -1;
|
| #endif
|
| - prevFrameSize = declen/240;
|
| + prevFrameSize = static_cast<int16_t>(declen / 240);
|
| }
|
| }
|
|
|
|
|