From b23864dfb188115852088c43ee748b5de8a33288 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Fri, 10 Aug 2012 13:30:44 +0000 Subject: 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@1371695 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpid/sys/posix/SystemInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/cpp/src') diff --git a/qpid/cpp/src/qpid/sys/posix/SystemInfo.cpp b/qpid/cpp/src/qpid/sys/posix/SystemInfo.cpp index 2b1bbb97df..cfd2c64aee 100755 --- a/qpid/cpp/src/qpid/sys/posix/SystemInfo.cpp +++ b/qpid/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 } -- cgit v1.2.1