diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-09-03 15:24:45 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2017-07-22 15:56:45 +0200 |
commit | a5a389936c791fa4b464b84d8ebed972a7ebe8aa (patch) | |
tree | ab09849df5298ff0c02137e003ff9574f8e39250 /khtml/misc/decoder.cpp | |
parent | 9de3d7917b4d70718bdccba0d310cd41c18a1e9f (diff) | |
download | tdelibs-a5a389936c791fa4b464b84d8ebed972a7ebe8aa.tar.gz tdelibs-a5a389936c791fa4b464b84d8ebed972a7ebe8aa.zip |
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 0d8345e6f7f2402d3ee88c0eb3d89e0e839bc5b5)
Diffstat (limited to 'khtml/misc/decoder.cpp')
-rw-r--r-- | khtml/misc/decoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/khtml/misc/decoder.cpp b/khtml/misc/decoder.cpp index f227f4014..a69bce76b 100644 --- a/khtml/misc/decoder.cpp +++ b/khtml/misc/decoder.cpp @@ -265,7 +265,7 @@ TQString Decoder::decode(const char *data, int len) if (m_codec->mibEnum() == 1000 && c2 == 0x00) { // utf16LE, we need to put the decoder in LE mode - char reverseUtf16[3] = {0xFF, 0xFE, 0x00}; + char reverseUtf16[3] = {'\xFF', '\xFE', '\x00'}; m_decoder->toUnicode(reverseUtf16, 2); } } |