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:
turaj@webrtc.org
2013-09-20 16:25:28 +00:00
parent 0e63e76781
commit 362a55e7b0
30 changed files with 179 additions and 170 deletions

View File

@ -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