Index: runtime/bin/socket_macos.cc |
diff --git a/runtime/bin/socket_macos.cc b/runtime/bin/socket_macos.cc |
index 2e2dbb650a1669559151eae34d956bbb4cf32888..3b52c09078222288c4fd48547cf121a275e4c80c 100644 |
--- a/runtime/bin/socket_macos.cc |
+++ b/runtime/bin/socket_macos.cc |
@@ -192,8 +192,8 @@ int Socket::GetType(intptr_t fd) { |
} |
-intptr_t Socket::GetStdioHandle(int num) { |
- return static_cast<intptr_t>(num); |
+intptr_t Socket::GetStdioHandle(intptr_t num) { |
+ return num; |
} |