| Index: tools/android/forwarder2/socket.cc
|
| diff --git a/tools/android/forwarder2/socket.cc b/tools/android/forwarder2/socket.cc
|
| index ae8a6c0075b20ab50432139128bbe993ac01fbda..c6073c195aa4a02e8d8c6a74fd8d726819f0e8ef 100644
|
| --- a/tools/android/forwarder2/socket.cc
|
| +++ b/tools/android/forwarder2/socket.cc
|
| @@ -9,6 +9,7 @@
|
| #include <fcntl.h>
|
| #include <netdb.h>
|
| #include <netinet/in.h>
|
| +#include <stdint.h>
|
| #include <stdio.h>
|
| #include <string.h>
|
| #include <sys/socket.h>
|
| @@ -183,7 +184,7 @@ bool Socket::BindAndListen() {
|
| memset(&addr, 0, sizeof(addr));
|
| socklen_t addrlen = 0;
|
| sockaddr* addr_ptr = NULL;
|
| - uint16* port_ptr = NULL;
|
| + uint16_t* port_ptr = NULL;
|
| if (family_ == AF_INET) {
|
| addr_ptr = reinterpret_cast<sockaddr*>(&addr.addr4);
|
| port_ptr = &addr.addr4.sin_port;
|
|
|