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

jbarrett 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 2a1e066  GEODE-4423: Fixes warning introduced after Solaris fix.
2a1e066 is described below

commit 2a1e0660522f00df8b261e38861f90a211a03898
Author: Jacob Barrett <jbarr...@pivotal.io>
AuthorDate: Mon Feb 5 12:24:00 2018 -0800

    GEODE-4423: Fixes warning introduced after Solaris fix.
---
 cppcache/src/PdxFieldType.cpp    | 2 +-
 cppcache/src/PdxInstanceImpl.cpp | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cppcache/src/PdxFieldType.cpp b/cppcache/src/PdxFieldType.cpp
index 5a3355d..4911575 100644
--- a/cppcache/src/PdxFieldType.cpp
+++ b/cppcache/src/PdxFieldType.cpp
@@ -138,7 +138,7 @@ std::string PdxFieldType::toString() const {
   char stringBuf[1024];
   ACE_OS::snprintf(
       stringBuf, 1024,
-      " PdxFieldName=%s TypeId=%hhd VarLenFieldIdx=%d sequenceid=%d\n",
+      " PdxFieldName=%s TypeId=%d VarLenFieldIdx=%d sequenceid=%d\n",
       this->m_fieldName.c_str(), this->m_typeId, this->m_varLenFieldIdx,
       this->m_sequenceId);
   return std::string(stringBuf);
diff --git a/cppcache/src/PdxInstanceImpl.cpp b/cppcache/src/PdxInstanceImpl.cpp
index 7289830..3909643 100644
--- a/cppcache/src/PdxInstanceImpl.cpp
+++ b/cppcache/src/PdxInstanceImpl.cpp
@@ -728,7 +728,7 @@ int32_t PdxInstanceImpl::hashcode() const {
          * Use snprintf() instead, or correct precision specifiers.
          * Fix : using ACE_OS::snprintf
          */
-        ACE_OS::snprintf(excpStr, 256, "PdxInstance not found typeid %hhd ",
+        ACE_OS::snprintf(excpStr, 256, "PdxInstance not found typeid %d ",
                          pField->getTypeId());
         throw IllegalStateException(excpStr);
       }
@@ -1271,7 +1271,7 @@ bool PdxInstanceImpl::operator==(const CacheableKey& 
other) const {
          * Use snprintf() instead, or correct precision specifiers.
          * Fix : using ACE_OS::snprintf
          */
-        ACE_OS::snprintf(excpStr, 256, "PdxInstance not found typeid  %hhd ",
+        ACE_OS::snprintf(excpStr, 256, "PdxInstance not found typeid  %d ",
                          myPFT->getTypeId());
         throw IllegalStateException(excpStr);
       }

-- 
To stop receiving notification emails like this one, please contact
jbarr...@apache.org.

Reply via email to