ports/editors/xmlcopyeditor/files/patch-src_xmlcopyeditor.cpp.diff
Beech Rintoul 553220b409 - Update to 1.1.0.6
- Notes: 1.1.0.6 introduces full Aspell support and XML Schema-based
  element inspection.

PR:		ports/119905
Submitted by:	Jose Garcia Juanino <jjuanino@gmail.com> (maintainer)
Approved by:	linimon (mentor)
2008-01-25 17:28:02 +00:00

26 lines
724 B
Diff

--- src/xmlcopyeditor.cpp.orig 2008-01-22 18:07:12.000000000 +0100
+++ src/xmlcopyeditor.cpp 2008-01-22 18:15:34.000000000 +0100
@@ -2984,10 +2984,7 @@
nconv = iconv (
cd,
-#ifdef __WXMSW__
- ( const char ** )
-#endif
- &docBuffer,
+ ICONV_CHAR_CAST(&docBuffer),
&docBufferLeft,
&iconvBuffer,
&iconvBufferLeft );
@@ -4637,10 +4634,7 @@
nconv = iconv (
cd,
-#ifdef __WXMSW__
- ( const char ** )
-#endif
- &utf8BufferPtr,
+ ICONV_CHAR_CAST(&utf8BufferPtr),
&utf8BufferLeft,
&iconvBuffer,
&iconvBufferLeft );