summaryrefslogtreecommitdiff
path: root/src/fqterm/3rdparty
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2014-06-21 12:02:16 +0800
committerIru Cai <mytbk920423@gmail.com>2014-06-21 12:02:16 +0800
commit74383624ec49680fa1f24294c2707ca7e0c38ba4 (patch)
treef815bdf010457326162dd03bd9be10693532742a /src/fqterm/3rdparty
parentebdbc9e84fe19a0bc82c59f7818952caebd80254 (diff)
downloadfqterm-74383624ec49680fa1f24294c2707ca7e0c38ba4.tar.xz
Silence some warnings
Diffstat (limited to 'src/fqterm/3rdparty')
-rw-r--r--src/fqterm/3rdparty/uaocodec.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fqterm/3rdparty/uaocodec.cpp b/src/fqterm/3rdparty/uaocodec.cpp
index 2e70b78..64c411d 100644
--- a/src/fqterm/3rdparty/uaocodec.cpp
+++ b/src/fqterm/3rdparty/uaocodec.cpp
@@ -2485,7 +2485,7 @@ static const ushort big5_to_ucs[] =
33325, 33326, 33342, 33378, 33386, 33416
};
-static const uchar ucs_to_big5[][2] =
+static const char ucs_to_big5[][2] =
{
{'\x00','\x00'},{'\x00','\x01'},{'\x00','\x02'},{'\x00','\x03'},{'\x00','\x04'},
{'\x00','\x05'},{'\x00','\x06'},{'\x00','\x07'},{'\x00','\x08'},{'\x00','\x09'},
@@ -15632,7 +15632,7 @@ static int qt_UnicodeToBig5(uint wc, uchar *r)
}
else {
if (wc >= 0 && wc <= 65535){
- c = ucs_to_big5[wc];
+ c = (uchar*)ucs_to_big5[wc];
if (c [0] == '\0')
return 0;
if (c [1] != 0) {