You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2008/10/21 19:32:34 UTC
svn commit: r706687 -
/incubator/qpid/trunk/qpid/cpp/src/qpid/xml/XmlExchange.cpp
Author: gsim
Date: Tue Oct 21 10:32:34 2008
New Revision: 706687
URL: http://svn.apache.org/viewvc?rev=706687&view=rev
Log:
Fix compilation error on older compilers by correcting cast.
Modified:
incubator/qpid/trunk/qpid/cpp/src/qpid/xml/XmlExchange.cpp
Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/xml/XmlExchange.cpp
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/xml/XmlExchange.cpp?rev=706687&r1=706686&r2=706687&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/xml/XmlExchange.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/xml/XmlExchange.cpp Tue Oct 21 10:32:34 2008
@@ -144,7 +144,8 @@
throw InternalErrorException(QPID_MSG("Query context looks munged ..."));
}
- XERCES_CPP_NAMESPACE::MemBufInputSource xml((XMLByte*) msgContent.c_str(), msgContent.length(), "input" );
+ XERCES_CPP_NAMESPACE::MemBufInputSource xml((const XMLByte*) msgContent.c_str(),
+ msgContent.length(), "input" );
Sequence seq(context->parseDocument(xml));
if (args) {