Index: runtime/bin/socket_linux.cc |
diff --git a/runtime/bin/socket_linux.cc b/runtime/bin/socket_linux.cc |
index f247f5d24770cd083019621f15146ea70e032db4..63fd9c30b9a78cd80e5dc017f73c9249d13dc4b9 100644 |
--- a/runtime/bin/socket_linux.cc |
+++ b/runtime/bin/socket_linux.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; |
} |