Address Windows 64-bits warnings.
R=henrik.lundin@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2203004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4803 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -275,14 +275,14 @@ void PacketBuffer::DeleteAllPackets(PacketList* packet_list) {
|
||||
}
|
||||
}
|
||||
|
||||
void PacketBuffer::BufferStat(int* num_packest,
|
||||
void PacketBuffer::BufferStat(int* num_packets,
|
||||
int* max_num_packets,
|
||||
int* current_memory_bytes,
|
||||
int* max_memory_bytes) const {
|
||||
*num_packest = buffer_.size();
|
||||
*max_num_packets = max_number_of_packets_;
|
||||
*num_packets = static_cast<int>(buffer_.size());
|
||||
*max_num_packets = static_cast<int>(max_number_of_packets_);
|
||||
*current_memory_bytes = current_memory_bytes_;
|
||||
*max_memory_bytes = max_memory_bytes_;
|
||||
*max_memory_bytes = static_cast<int>(max_memory_bytes_);
|
||||
}
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
Reference in New Issue
Block a user