summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2012-08-10 13:30:44 +0000
committerAndrew Stitcher <astitcher@apache.org>2012-08-10 13:30:44 +0000
commit5932eb9e7466475225a8678fd67edc2d8001fad6 (patch)
tree709c21afcee26960f43682b7fa6026f16dc67ef6 /cpp/src
parent20e2bf07e12352f7ec08b39a3972b9a0d797c2fb (diff)
downloadqpid-python-5932eb9e7466475225a8678fd67edc2d8001fad6.tar.gz
NO-JIRA: Work around compiler warning from clang 3.1 about casting between type alignments
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1371695 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rwxr-xr-xcpp/src/qpid/sys/posix/SystemInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/posix/SystemInfo.cpp b/cpp/src/qpid/sys/posix/SystemInfo.cpp
index 2b1bbb97df..cfd2c64aee 100755
--- a/cpp/src/qpid/sys/posix/SystemInfo.cpp
+++ b/cpp/src/qpid/sys/posix/SystemInfo.cpp
@@ -91,7 +91,7 @@ void SystemInfo::getLocalIpAddresses (uint16_t port,
// * The scope id is illegal in URL syntax
// * Clients won't be able to use a link local address
// without adding their own (potentially different) scope id
- sockaddr_in6* sa6 = (sockaddr_in6*)(ifap->ifa_addr);
+ sockaddr_in6* sa6 = (sockaddr_in6*)((void*)ifap->ifa_addr);
if (IN6_IS_ADDR_LINKLOCAL(&sa6->sin6_addr)) break;
// Fallthrough
}