xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbert...@apache.org
Subject svn commit: r503273 - /xalan/c/trunk/src/xalanc/XMLSupport/XalanUTF16Writer.hpp
Date Sat, 03 Feb 2007 18:15:20 GMT
Author: dbertoni
Date: Sat Feb  3 10:15:19 2007
New Revision: 503273

URL: http://svn.apache.org/viewvc?view=rev&rev=503273
Log:
Patch for Jira issue XALANC-630.

Modified:
    xalan/c/trunk/src/xalanc/XMLSupport/XalanUTF16Writer.hpp

Modified: xalan/c/trunk/src/xalanc/XMLSupport/XalanUTF16Writer.hpp
URL: http://svn.apache.org/viewvc/xalan/c/trunk/src/xalanc/XMLSupport/XalanUTF16Writer.hpp?view=diff&rev=503273&r1=503272&r2=503273
==============================================================================
--- xalan/c/trunk/src/xalanc/XMLSupport/XalanUTF16Writer.hpp (original)
+++ xalan/c/trunk/src/xalanc/XMLSupport/XalanUTF16Writer.hpp Sat Feb  3 10:15:19 2007
@@ -186,9 +186,9 @@
     flushBuffer()
     {
         m_writer.write(
-            reinterpret_cast<const char*>(m_buffer),
+            m_buffer,
             0,
-            (m_bufferPosition - m_buffer) * sizeof m_buffer[0]);
+            m_bufferPosition - m_buffer);
     
         
         m_bufferPosition = m_buffer;



---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message