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

bbender pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git


The following commit(s) were added to refs/heads/develop by this push:
     new 28eef7b  Fix yet another Windows build break due to compiler warning
28eef7b is described below

commit 28eef7b74aae1c5bb3b0c152336d07197aa70fac
Author: Blake Bender <[email protected]>
AuthorDate: Mon Sep 9 18:20:04 2019 +0000

    Fix yet another Windows build break due to compiler warning
---
 cppcache/src/ClientProxyMembershipID.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cppcache/src/ClientProxyMembershipID.cpp 
b/cppcache/src/ClientProxyMembershipID.cpp
index 6da1939..81e4d0b 100644
--- a/cppcache/src/ClientProxyMembershipID.cpp
+++ b/cppcache/src/ClientProxyMembershipID.cpp
@@ -119,7 +119,8 @@ void ClientProxyMembershipID::initObjectVars(
   m_vmViewId = vmViewId;
   m_memID.write(static_cast<int8_t>(DSCode::FixedIDByte));
   m_memID.write(static_cast<int8_t>(DSCode::InternalDistributedMember));
-  m_memID.writeBytes(m_hostAddr.data(), m_hostAddr.size());
+  m_memID.writeBytes(m_hostAddr.data(),
+                     static_cast<int32_t>(m_hostAddr.size()));
   // m_memID.writeInt((int32_t)hostPort);
   m_memID.writeInt(static_cast<int32_t>(synch_counter));
   m_memID.writeString(hostname);

Reply via email to