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
commitd48aedc687f43c02f631a288db524075bdf3698d (patch)
tree709c21afcee26960f43682b7fa6026f16dc67ef6 /cpp/src
parent3aaac7fb1cc05c7119036b1375b3a9bff254ee85 (diff)
downloadqpid-python-d48aedc687f43c02f631a288db524075bdf3698d.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
}