remove warning

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21771 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2007-11-25 17:56:07 +00:00
parent 23bf70368a
commit 3f8ea42032

View File

@ -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<char_type> const ucs4 = eightbit_to_ucs4(&c, 1, iconvName_);
if (ucs4.size() == 1) {
char_type const c = ucs4[0];