summaryrefslogtreecommitdiff
path: root/ace/TLI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/TLI.cpp')
-rw-r--r--ace/TLI.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/ace/TLI.cpp b/ace/TLI.cpp
index 22c747bade0..3efa611ef74 100644
--- a/ace/TLI.cpp
+++ b/ace/TLI.cpp
@@ -129,15 +129,15 @@ ACE_TLI::set_option (int level, int option, void *optval, int optlen)
struct t_optmgmt req, ret;
ACE_NEW_RETURN (req.opt.buf, char[sizeof (struct t_opthdr) + optlen], -1);
# if (_XOPEN_SOURCE - 0 >= 500)
- auto_ptr<char> req_opt_buf_p (ACE_reinterpret_cast (char*, req.opt.buf));
+ auto_ptr<char> req_opt_buf_p (reinterpret_cast<char*> (req.opt.buf));
# else
ACE_Auto_Array_Ptr<char> req_opt_buf_p (req.opt.buf);
# endif /* XPG5 vs XPG4 */
struct t_opthdr *opthdr =
- ACE_reinterpret_cast (struct t_opthdr *, req.opt.buf);
+ reinterpret_cast<struct t_opthdr *> (req.opt.buf);
ACE_NEW_RETURN (ret.opt.buf, char[sizeof (struct t_opthdr) + optlen], -1);
# if (_XOPEN_SOURCE - 0 >= 500)
- auto_ptr<char> ret_opt_buf_p (ACE_reinterpret_cast (char*, ret.opt.buf));
+ auto_ptr<char> ret_opt_buf_p (reinterpret_cast<char*> (ret.opt.buf));
# else
ACE_Auto_Array_Ptr<char> ret_opt_buf_p (ret.opt.buf);
# endif /* XPG5 vs XPG4 */
@@ -167,7 +167,7 @@ ACE_TLI::set_option (int level, int option, void *optval, int optlen)
return -1;
}
- opthdr = ACE_reinterpret_cast (struct opthdr *, this->so_opt_req.opt.buf);
+ opthdr = reinterpret_cast<struct opthdr *> (this->so_opt_req.opt.buf);
opthdr->level = level;
opthdr->name = option;
opthdr->len = OPTLEN (optlen);
@@ -194,15 +194,15 @@ ACE_TLI::get_option (int level, int option, void *optval, int &optlen)
struct t_optmgmt req, ret;
ACE_NEW_RETURN (req.opt.buf, char[sizeof (struct t_opthdr)], -1);
# if (_XOPEN_SOURCE - 0 >= 500)
- auto_ptr<char> req_opt_buf_p (ACE_reinterpret_cast (char*, req.opt.buf));
+ auto_ptr<char> req_opt_buf_p (reinterpret_cast<char*> (req.opt.buf));
# else
ACE_Auto_Array_Ptr<char> req_opt_buf_p (req.opt.buf);
# endif /* XPG5 vs XPG4 */
struct t_opthdr *opthdr =
- ACE_reinterpret_cast (struct t_opthdr *, req.opt.buf);
+ reinterpret_cast<struct t_opthdr *> (req.opt.buf);
ACE_NEW_RETURN (ret.opt.buf, char[sizeof (struct t_opthdr) + optlen], -1);
# if (_XOPEN_SOURCE - 0 >= 500)
- auto_ptr<char> ret_opt_buf_p (ACE_reinterpret_cast (char*, ret.opt.buf));
+ auto_ptr<char> ret_opt_buf_p (reinterpret_cast<char*> (ret.opt.buf));
# else
ACE_Auto_Array_Ptr<char> ret_opt_buf_p (ret.opt.buf);
# endif /* XPG5 vs XPG4 */
@@ -217,7 +217,7 @@ ACE_TLI::get_option (int level, int option, void *optval, int &optlen)
return -1;
else
{
- opthdr = ACE_reinterpret_cast (struct t_opthdr *, ret.opt.buf);
+ opthdr = reinterpret_cast<struct t_opthdr *> (ret.opt.buf);
if (opthdr->status == T_NOTSUPPORT)
{
errno = ENOTSUP;