From 0d8345e6f7f2402d3ee88c0eb3d89e0e839bc5b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 3 Sep 2016 15:24:45 +0200 Subject: Fix FTBFS with GCC6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- tdehtml/misc/decoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tdehtml/misc') 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); } } -- cgit v1.2.1