This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 7.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/7.1.x by this push:
     new fb4d485  7.1.x: Fix WCCP for gcc 8.
fb4d485 is described below

commit fb4d485fc4ee9b20df66ba4f1b1d8143f4714658
Author: Alan M. Carroll <[email protected]>
AuthorDate: Sat Jun 16 19:49:44 2018 -0500

    7.1.x: Fix WCCP for gcc 8.
---
 lib/wccp/WccpEndPoint.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/wccp/WccpEndPoint.cc b/lib/wccp/WccpEndPoint.cc
index 9b1ccf9..387121c 100644
--- a/lib/wccp/WccpEndPoint.cc
+++ b/lib/wccp/WccpEndPoint.cc
@@ -383,7 +383,7 @@ CacheImpl::defineServiceGroup(ServiceGroup const &svc, 
ServiceGroup::Result *res
   if (spot == m_groups.end()) { // not defined
     group        = &(m_groups[svc_id]);
     group->m_svc = svc;
-    memset(&group->m_id, 0, sizeof(group->m_id));
+    memset(static_cast<void *>(&group->m_id), 0, sizeof(group->m_id));
     group->m_id.initDefaultHash(m_addr);
     zret = ServiceGroup::DEFINED;
   } else {

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to