summaryrefslogtreecommitdiff
path: root/ace/OS_NS_arpa_inet.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ace/OS_NS_arpa_inet.inl')
-rw-r--r--ace/OS_NS_arpa_inet.inl4
1 files changed, 1 insertions, 3 deletions
diff --git a/ace/OS_NS_arpa_inet.inl b/ace/OS_NS_arpa_inet.inl
index a0f452c6aec..8e42c253f6a 100644
--- a/ace/OS_NS_arpa_inet.inl
+++ b/ace/OS_NS_arpa_inet.inl
@@ -69,8 +69,7 @@ ACE_OS::inet_ntop (int family, const void *addrptr, char *strptr, size_t len)
#if defined (ACE_HAS_IPV6) && !defined (ACE_WIN32)
ACE_OSCALL_RETURN (::inet_ntop (family, addrptr, strptr, len), const char *, 0);
#else
- const u_char *p =
- ACE_reinterpret_cast (const u_char *, addrptr);
+ const u_char *p = reinterpret_cast<const u_char *> (addrptr);
if (family == AF_INET)
{
@@ -120,4 +119,3 @@ ACE_OS::inet_pton (int family, const char *strptr, void *addrptr)
ACE_NOTSUP_RETURN(-1);
#endif /* ACE_HAS_IPV6 */
}
-