| Index: net/tools/quic/quic_socket_utils.cc
|
| diff --git a/net/tools/quic/quic_socket_utils.cc b/net/tools/quic/quic_socket_utils.cc
|
| index 262c60875f55c133a7e0be86e1765a600a2b7e8e..1853a6bf568df25d4007f331ebf32adb6f110d2f 100644
|
| --- a/net/tools/quic/quic_socket_utils.cc
|
| +++ b/net/tools/quic/quic_socket_utils.cc
|
| @@ -11,7 +11,6 @@
|
| #include <sys/uio.h>
|
| #include <string>
|
|
|
| -#include "base/basictypes.h"
|
| #include "base/logging.h"
|
| #include "net/quic/quic_protocol.h"
|
|
|
| @@ -27,15 +26,15 @@ IPAddressNumber QuicSocketUtils::GetAddressFromMsghdr(struct msghdr* hdr) {
|
| if (hdr->msg_controllen > 0) {
|
| for (cmsghdr* cmsg = CMSG_FIRSTHDR(hdr); cmsg != nullptr;
|
| cmsg = CMSG_NXTHDR(hdr, cmsg)) {
|
| - const uint8* addr_data = nullptr;
|
| + const uint8_t* addr_data = nullptr;
|
| int len = 0;
|
| if (cmsg->cmsg_type == IPV6_PKTINFO) {
|
| in6_pktinfo* info = reinterpret_cast<in6_pktinfo*> CMSG_DATA(cmsg);
|
| - addr_data = reinterpret_cast<const uint8*>(&info->ipi6_addr);
|
| + addr_data = reinterpret_cast<const uint8_t*>(&info->ipi6_addr);
|
| len = sizeof(in6_addr);
|
| } else if (cmsg->cmsg_type == IP_PKTINFO) {
|
| in_pktinfo* info = reinterpret_cast<in_pktinfo*> CMSG_DATA(cmsg);
|
| - addr_data = reinterpret_cast<const uint8*>(&info->ipi_addr);
|
| + addr_data = reinterpret_cast<const uint8_t*>(&info->ipi_addr);
|
| len = sizeof(in_addr);
|
| } else {
|
| continue;
|
|
|