xalan-cvs@xml.apache.org
[Top] [All Lists]

svn commit: r503273 - /xalan/c/trunk/src/xalanc/XMLSupport/XalanUTF16Wri

Subject: svn commit: r503273 - /xalan/c/trunk/src/xalanc/XMLSupport/XalanUTF16Writer.hpp
From:
Date: Sat, 03 Feb 2007 18:15:20 -0000
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@xxxxxxxxxxxxxx
For additional commands, e-mail: xalan-cvs-help@xxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: r503273 - /xalan/c/trunk/src/xalanc/XMLSupport/XalanUTF16Writer.hpp, dbertoni <=