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) {


Reply via email to