]> git.saurik.com Git - wxWidgets.git/commitdiff
reverted previous checkin
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 13 Aug 2002 23:09:40 +0000 (23:09 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 13 Aug 2002 23:09:40 +0000 (23:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/strconv.cpp

index e1d49bd9fbeb83474f173060fc91235804c61057..f1d4c56ea2c2567c793fa0e3c7131101ad544b68 100644 (file)
@@ -506,11 +506,7 @@ public:
 #define ICONV_FAILED(cres, bufLeft)  (cres == (size_t)-1)
 #endif
 
-#if ICONV_CONST
-#define ICONV_CHAR_CAST(x)  ((char **)(x))
-#else
-#define ICONV_CHAR_CAST(x)  ((const char **)(x))
-#endif
+#define ICONV_CHAR_CAST(x)  ((ICONV_CONST char **)(x))
 
 // ----------------------------------------------------------------------------
 // IC_CharSet: encapsulates an iconv character set