axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject cvs commit: ws-axis/c/src/common BasicTypeSerializer.cpp
Date Thu, 09 Sep 2004 05:56:14 GMT
samisa      2004/09/08 22:56:14

  Modified:    c/src/common BasicTypeSerializer.cpp
  Log:
  Jira - AXISCPP-155 : Fixed roots of warning messages
  
  Revision  Changes    Path
  1.31      +6 -6      ws-axis/c/src/common/BasicTypeSerializer.cpp
  
  Index: BasicTypeSerializer.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/common/BasicTypeSerializer.cpp,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- BasicTypeSerializer.cpp	20 Aug 2004 13:03:37 -0000	1.30
  +++ BasicTypeSerializer.cpp	9 Sep 2004 05:56:14 -0000	1.31
  @@ -86,7 +86,7 @@
               break;
           case XSD_LONG:
           case XSD_INTEGER:
  -            AxisSprintf (m_Buf, BTS_BUFFSIZE, "%d", *((long*)(pValue)));
  +            AxisSprintf (m_Buf, BTS_BUFFSIZE, "%ld", *((long*)(pValue)));
               m_sSZ += m_Buf;
               break;
           case XSD_DURATION:
  @@ -95,7 +95,7 @@
               m_sSZ += m_Buf;
               break;
           case XSD_UNSIGNEDLONG:
  -            AxisSprintf (m_Buf, BTS_BUFFSIZE, "%u", *((unsigned long*)(pValue)));
  +            AxisSprintf (m_Buf, BTS_BUFFSIZE, "%lu", *((unsigned long*)(pValue)));
               m_sSZ += m_Buf;
               break;
           case XSD_FLOAT:
  @@ -218,7 +218,7 @@
               break;
           case XSD_LONG:
           case XSD_INTEGER:
  -            AxisSprintf (m_Buf, BTS_BUFFSIZE, "%d", *((long*)(pValue)));
  +            AxisSprintf (m_Buf, BTS_BUFFSIZE, "%ld", *((long*)(pValue)));
               m_sSZ += m_Buf;
               break;
           case XSD_DURATION:
  @@ -228,7 +228,7 @@
               m_sSZ += m_Buf;
               break;
           case XSD_UNSIGNEDLONG:
  -            AxisSprintf (m_Buf, BTS_BUFFSIZE, "%u",
  +            AxisSprintf (m_Buf, BTS_BUFFSIZE, "%lu",
                          *((unsigned long*)(pValue)));
               m_sSZ += m_Buf;
               break;
  @@ -342,7 +342,7 @@
       /* Find entity reference characters and returns the first any of chars find
        * position
        */ 
  -    int nPos = strVal.find_first_of (XML_ENTITY_REFERENCE_CAHRS);
  +    unsigned int nPos = strVal.find_first_of (XML_ENTITY_REFERENCE_CAHRS);
   
       /* Check for position validity */
       if (std::AxisString::npos == nPos)
  @@ -390,4 +390,4 @@
       return m_strReturnVal;
   }
   
  -AXIS_CPP_NAMESPACE_END
  \ No newline at end of file
  +AXIS_CPP_NAMESPACE_END
  
  
  

Mime
View raw message