| Index: tools/android/file_poller/file_poller.cc
|
| ===================================================================
|
| --- tools/android/file_poller/file_poller.cc (revision 258902)
|
| +++ tools/android/file_poller/file_poller.cc (working copy)
|
| @@ -103,7 +103,7 @@
|
| socket_info.sin_port = htons(0);
|
| if (bind(sockfd, (struct sockaddr*)&socket_info, sizeof(socket_info)) < 0)
|
| PLOG(FATAL);
|
| - int size = sizeof(socket_info);
|
| + socklen_t size = sizeof(socket_info);
|
| getsockname(sockfd, (struct sockaddr*)&socket_info, &size);
|
| printf("%d\n", ntohs(socket_info.sin_port));
|
| // Using a pipe to ensure child is diconnected from the terminal before
|
|
|