Bug Fix: build error by iconv prototype. 7104417 7103576 (backport of s11u1:712:3ae62904125b)
--- a/iiim/build/src/im-sdk/iiimsf/src/LECustomData.cpp Mon Nov 14 18:15:59 2011 +0100
+++ b/iiim/build/src/im-sdk/iiimsf/src/LECustomData.cpp Wed Nov 16 08:44:50 2011 +0900
@@ -126,7 +126,7 @@
LECustomData::make_utf8_charstr(IIIMP_card16 * utf16)
{
if (iconv_init) {
- const char *in_buf = (char *)utf16;
+ char *in_buf = (char *)utf16;
size_t in_size = UTFSTR_len (utf16) * 2;
if (in_size * 3 + 1 > ICONV_BUF_SIZ) {
delete iconv_buf;
--- a/sunpinyin/ime/src/config/solaris.h Mon Nov 14 18:15:59 2011 +0100
+++ b/sunpinyin/ime/src/config/solaris.h Wed Nov 16 08:44:50 2011 +0900
@@ -40,6 +40,6 @@
#define SOLARIS_OS 1
-typedef const char* TIConvSrcPtr;
+typedef char* TIConvSrcPtr;
#endif
--- a/sunpinyin/slm/src/config/solaris.h Mon Nov 14 18:15:59 2011 +0100
+++ b/sunpinyin/slm/src/config/solaris.h Wed Nov 16 08:44:50 2011 +0900
@@ -40,6 +40,6 @@
#define SOLARIS_OS 1
-typedef const char* TIConvSrcPtr;
+typedef char* TIConvSrcPtr;
#endif
--- a/sunpinyin2/src/config/solaris.h Mon Nov 14 18:15:59 2011 +0100
+++ b/sunpinyin2/src/config/solaris.h Wed Nov 16 08:44:50 2011 +0900
@@ -40,6 +40,6 @@
#define SOLARIS_OS 1
-typedef const char* TIConvSrcPtr;
+typedef char* TIConvSrcPtr;
#endif