|
Boost-Commit : |
From: chris_at_[hidden]
Date: 2007-09-12 08:24:22
Author: chris_kohlhoff
Date: 2007-09-12 08:24:21 EDT (Wed, 12 Sep 2007)
New Revision: 39211
URL: http://svn.boost.org/trac/boost/changeset/39211
Log:
AIX seems to have the socket address family as an unsigned char rather than unsigned short.
Text files modified:
trunk/boost/asio/ip/basic_endpoint.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/asio/ip/basic_endpoint.hpp
==============================================================================
--- trunk/boost/asio/ip/basic_endpoint.hpp (original)
+++ trunk/boost/asio/ip/basic_endpoint.hpp 2007-09-12 08:24:21 EDT (Wed, 12 Sep 2007)
@@ -308,7 +308,7 @@
private:
// Helper function to determine whether the endpoint is IPv4.
#if defined(_AIX)
- template <typename T, unsigned short (T::*)> struct is_v4_helper {};
+ template <typename T, unsigned char (T::*)> struct is_v4_helper {};
template <typename T>
static bool is_v4(const T& ss, is_v4_helper<T, &T::ss_family>* = 0)
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk