summaryrefslogtreecommitdiff
path: root/ace/RMCast/Link.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/RMCast/Link.cpp')
-rw-r--r--ace/RMCast/Link.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ace/RMCast/Link.cpp b/ace/RMCast/Link.cpp
index e6898cfd76c..dd3360889b8 100644
--- a/ace/RMCast/Link.cpp
+++ b/ace/RMCast/Link.cpp
@@ -9,7 +9,8 @@ namespace ACE_RMCast
Link::
Link (Address const& addr)
: addr_ (addr),
- ssock_ (Address ((unsigned short) (0), INADDR_ANY),
+ ssock_ (Address (static_cast<unsigned short> (0),
+ static_cast<ACE_UINT32> (INADDR_ANY)),
AF_INET,
IPPROTO_UDP,
1)