Ticket #12784: patch-src_unicode.cpp.diff

File patch-src_unicode.cpp.diff, 523 bytes (added by jmroot (Joshua Root), 17 years ago)
  • src/unicode.cpp

    old new  
    182182#if (!defined(OSX_LEOPARD) && defined(DARWIN)) || defined(SUNOS) || defined(FREEBSD)
    183183      const char * in = input.c_str();
    184184#else
    185       char * in = const_cast<char*>(input.data());
     185      const char * in = const_cast<char*>(input.data());
    186186#endif
    187187      char * out = const_cast<char*>(reinterpret_cast<const char*>(output.data()));                     
    188188      iconv(desc_,&in,&inleft,&out,&outleft);