axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject cvs commit: ws-axis/c/src/soap SoapDeSerializer.cpp
Date Tue, 30 Nov 2004 17:15:44 GMT
dicka       2004/11/30 09:15:44

  Modified:    c/src/soap SoapDeSerializer.cpp
  Log:
  Remove casting warnings in SoapDeSerializer
  
  PR: AXISCPP-155
  Submitted by: Adrian Dick
  
  Revision  Changes    Path
  1.116     +3 -3      ws-axis/c/src/soap/SoapDeSerializer.cpp
  
  Index: SoapDeSerializer.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/soap/SoapDeSerializer.cpp,v
  retrieving revision 1.115
  retrieving revision 1.116
  diff -u -r1.115 -r1.116
  --- SoapDeSerializer.cpp	30 Nov 2004 03:08:13 -0000	1.115
  +++ SoapDeSerializer.cpp	30 Nov 2004 17:15:44 -0000	1.116
  @@ -4152,7 +4152,7 @@
   	{
   	case XSD_INT:
   	    *((int *) (pValue)) =
  -		strtod (m_pNode->m_pchNameOrValue, &m_pEndptr);
  +		(int) strtod (m_pNode->m_pchNameOrValue, &m_pEndptr);
   	    break;
   	case XSD_BOOLEAN:
   	    *((int *) (pValue)) =
  @@ -4165,7 +4165,7 @@
   	    break;
   	case XSD_SHORT:
   	    *((short *) (pValue)) =
  -		strtod (m_pNode->m_pchNameOrValue, &m_pEndptr);
  +		(short) strtod (m_pNode->m_pchNameOrValue, &m_pEndptr);
   	    break;
   	case XSD_UNSIGNEDSHORT:
   	    *((unsigned short *) (pValue)) =
  @@ -4173,7 +4173,7 @@
   	    break;
   	case XSD_BYTE:
   	    *((char *) (pValue)) =
  -		strtod (m_pNode->m_pchNameOrValue, &m_pEndptr);
  +		(char) strtod (m_pNode->m_pchNameOrValue, &m_pEndptr);
   	    break;
   	case XSD_UNSIGNEDBYTE:
   	    *((unsigned char *) (pValue)) =
  
  
  

Mime
View raw message