summaryrefslogtreecommitdiff
path: root/websvcs/lib/URL_Addr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'websvcs/lib/URL_Addr.cpp')
-rw-r--r--websvcs/lib/URL_Addr.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/websvcs/lib/URL_Addr.cpp b/websvcs/lib/URL_Addr.cpp
index 82ae6e93f2f..86a0a9d0cea 100644
--- a/websvcs/lib/URL_Addr.cpp
+++ b/websvcs/lib/URL_Addr.cpp
@@ -250,8 +250,7 @@ ACE_HTTP_Addr::set (const ACE_TCHAR *host_name,
ACE_TCHAR *buffer;
ACE_ALLOCATOR_RETURN (buffer,
- ACE_reinterpret_cast(ACE_TCHAR *,
- ACE_OS::malloc (size)),
+ reinterpret_cast<ACE_TCHAR *> (ACE_OS::malloc (size)),
-1);
if (this->addr_to_string (buffer, size, 1) == -1)
return -1;
@@ -609,8 +608,7 @@ ACE_FTP_Addr::set (const ACE_TCHAR *host_name,
ACE_TCHAR *buffer;
ACE_ALLOCATOR_RETURN (buffer,
- ACE_reinterpret_cast(ACE_TCHAR *,
- ACE_OS::malloc (size)),
+ reinterpret_cast<ACE_TCHAR *> (ACE_OS::malloc (size)),
-1);
if (this->addr_to_string (buffer, size, 1) == -1)
return -1;
@@ -839,8 +837,7 @@ ACE_Mailto_Addr::set (const ACE_TCHAR *user,
size_t size = this->url_size (1);
ACE_TCHAR *buffer;
ACE_ALLOCATOR_RETURN (buffer,
- ACE_reinterpret_cast(ACE_TCHAR *,
- ACE_OS::malloc (size)),
+ reinterpret_cast<ACE_TCHAR *> (ACE_OS::malloc (size)),
-1);
if (this->addr_to_string (buffer, size, 1) == -1)
return -1;