From 3f8ea420320a2eea860265bfd9a3c9e9e69822a7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20K=C3=BCmmel?= Date: Sun, 25 Nov 2007 17:56:07 +0000 Subject: [PATCH] remove warning git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21771 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Encoding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Encoding.cpp b/src/Encoding.cpp index 6a610c1998..657072a6c5 100644 --- a/src/Encoding.cpp +++ b/src/Encoding.cpp @@ -280,7 +280,7 @@ void Encoding::init() const // We do not need to check all UCS4 code points, it is enough // if we check all 256 code points of this encoding. for (unsigned short j = 0; j < 256; ++j) { - char const c = j; + char const c = char(j); std::vector const ucs4 = eightbit_to_ucs4(&c, 1, iconvName_); if (ucs4.size() == 1) { char_type const c = ucs4[0]; -- 2.39.2