ports/editors/xmlcopyeditor/files/patch-src_xmlcopyeditor.cpp.diff
Pav Lucistnik d4b2a52be7 - Update to 1.2.0
PR:		ports/126129
Submitted by:	Jose Garcia Juanino <jjuanino@gmail.com> (maintainer)
2008-08-01 11:43:55 +00:00

26 lines
652 B
Diff

--- src/xmlcopyeditor.cpp.orig
+++ src/xmlcopyeditor.cpp
@@ -3002,10 +3002,7 @@
nconv = iconv (
cd,
-#ifdef __WXMSW__
- ( const char ** )
-#endif
- &docBuffer,
+ ICONV_CHAR_CAST(&docBuffer),
&docBufferLeft,
&iconvBuffer,
&iconvBufferLeft );
@@ -4617,10 +4614,7 @@
nconv = iconv (
cd,
-#ifdef __WXMSW__
- ( const char ** )
-#endif
- &utf8BufferPtr,
+ ICONV_CHAR_CAST(&utf8BufferPtr),
&utf8BufferLeft,
&iconvBuffer,
&iconvBufferLeft );