dbertoni    01/01/27 12:38:01

  Modified:    c/src/PlatformSupport XalanOutputStream.cpp
  Log:
  Fixed bug in call to write() with XALAN_OLD_STYLE_CASTS.
  
  Revision  Changes    Path
  1.7       +1 -1      xml-xalan/c/src/PlatformSupport/XalanOutputStream.cpp
  
  Index: XalanOutputStream.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/XalanOutputStream.cpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XalanOutputStream.cpp     2000/12/21 04:04:38     1.6
  +++ XalanOutputStream.cpp     2001/01/27 20:38:01     1.7
  @@ -372,7 +372,7 @@
        if (theSize > 0)
        {
   #if defined(XALAN_OLD_STYLE_CASTS)
  -             write((const char*)theProlog[0], theProlog.size());
  +             write((const char*)&theProlog[0], theProlog.size());
   #else
                write(reinterpret_cast<const char*>(&theProlog[0]), 
theProlog.size());
   #endif
  
  
  

Reply via email to