diff options
author | sjiang <sjiang@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-03-14 21:22:43 +0000 |
---|---|---|
committer | sjiang <sjiang@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-03-14 21:22:43 +0000 |
commit | 46d4bda1a0b8da523cf8a0e3aa10046ea0de89e2 (patch) | |
tree | fc8c0b45480d2e514c37dfdebb9c7fb5ef32068e /ace/INET_Addr.cpp | |
parent | eb69407d00f00f34df195ecd72ecb47e205ac245 (diff) | |
download | ATCD-46d4bda1a0b8da523cf8a0e3aa10046ea0de89e2.tar.gz |
ChangeLog Tag: Tue Mar 14 20:58:12 UTC 2006 jiang,shanshan <shanshan.jiang@vanderbilt.edu>
Diffstat (limited to 'ace/INET_Addr.cpp')
-rw-r--r-- | ace/INET_Addr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/INET_Addr.cpp b/ace/INET_Addr.cpp index c4e682fe10e..78e0557c9a5 100644 --- a/ace/INET_Addr.cpp +++ b/ace/INET_Addr.cpp @@ -313,7 +313,7 @@ ACE_INET_Addr::set (u_short port_number, // IPv6 not supported... insure the family is set to IPv4 address_family = AF_INET; this->set_type (address_family); - this->inet_addr_.in4_.sin_family = address_family; + this->inet_addr_.in4_.sin_family = static_cast<short> (address_family); struct in_addr addrv4; if (ACE_OS::inet_aton (host_name, &addrv4) == 1) |