Index: webrtc/modules/video_coding/packet_buffer.cc |
diff --git a/webrtc/modules/video_coding/packet_buffer.cc b/webrtc/modules/video_coding/packet_buffer.cc |
index 03aeb5a4a9691e7fd867aada0b97628e272fd71c..42fa8a85959c96d7afa0d9d49423bbb627cb7e26 100644 |
--- a/webrtc/modules/video_coding/packet_buffer.cc |
+++ b/webrtc/modules/video_coding/packet_buffer.cc |
@@ -187,7 +187,7 @@ bool PacketBuffer::PotentialNewFrame(uint16_t seq_num) const { |
if (!sequence_buffer_[prev_index].used) |
return false; |
if (sequence_buffer_[prev_index].seq_num != |
- sequence_buffer_[index].seq_num - 1) { |
+ static_cast<uint16_t>(sequence_buffer_[index].seq_num - 1)) { |
return false; |
} |
if (sequence_buffer_[prev_index].continuous) |