summaryrefslogtreecommitdiffstats
path: root/tdehtml
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-09-03 15:24:45 +0200
committerSlávek Banko <[email protected]>2016-09-03 15:24:45 +0200
commit0d8345e6f7f2402d3ee88c0eb3d89e0e839bc5b5 (patch)
tree49418995f6253481438929dbb981e60e884b57b5 /tdehtml
parent52a1b55368ec53b14347996851aca7eb29374397 (diff)
downloadtdelibs-0d8345e6f7f2402d3ee88c0eb3d89e0e839bc5b5.tar.gz
tdelibs-0d8345e6f7f2402d3ee88c0eb3d89e0e839bc5b5.zip
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'tdehtml')
-rw-r--r--tdehtml/misc/decoder.cpp2
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);
}
}