tng         2002/09/27 06:33:43

  Modified:    c/src/xercesc/util/Transcoders/IconvGNU
                        IconvGNUTransService.cpp
  Log:
  [Bug 12547] Xerces C++ 2.1 fails to build on Linux 64 bits arch with -tlinux.  Patch 
from Guillaume Morin.
  
  Revision  Changes    Path
  1.2       +5 -2      
xml-xerces/c/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp
  
  Index: IconvGNUTransService.cpp
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/c/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- IconvGNUTransService.cpp  19 Aug 2002 19:38:18 -0000      1.1
  +++ IconvGNUTransService.cpp  27 Sep 2002 13:33:43 -0000      1.2
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.2  2002/09/27 13:33:43  tng
  + * [Bug 12547] Xerces C++ 2.1 fails to build on Linux 64 bits arch with -tlinux.  
Patch from Guillaume Morin.
  + *
    * Revision 1.1  2002/08/19 19:38:18  tng
    * [Bug 11771] Linux specific IconvGNU transcoder.  Patch from Vasily Tchekalkin.
    *
  @@ -816,7 +819,7 @@
        // perform conversion
        wLent *= uChSize();
        char    *ptr = retVal;
  -     size_t  rc = iconvTo(wideCharBuf, &wLent, &ptr, neededLen);
  +     size_t  rc = iconvTo(wideCharBuf, (size_t *) &wLent, &ptr, neededLen);
        if (rc == (size_t)-1) {
            if (wBufPtr)
                delete [] wBufPtr;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to