diff options
author | Slávek Banko <[email protected]> | 2016-09-03 15:24:45 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-09-03 15:24:56 +0200 |
commit | fe024a800dbbbf69f282aa53af7b88ee6c2d8672 (patch) | |
tree | 934ec2f769736dca7ea4897cfa174b73ac037331 /tdehtml/misc | |
parent | 0d22b7ffc6ba832bc396390dbc45a8a11efce476 (diff) | |
download | tdelibs-fe024a800dbbbf69f282aa53af7b88ee6c2d8672.tar.gz tdelibs-fe024a800dbbbf69f282aa53af7b88ee6c2d8672.zip |
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 0d8345e6f7f2402d3ee88c0eb3d89e0e839bc5b5)
Diffstat (limited to 'tdehtml/misc')
-rw-r--r-- | tdehtml/misc/decoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdehtml/misc/decoder.cpp b/tdehtml/misc/decoder.cpp index 28c8a5e9d..419b4a2f0 100644 --- a/tdehtml/misc/decoder.cpp +++ b/tdehtml/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); } } |