mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 05:37:11 +00:00
remove warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21771 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
23bf70368a
commit
3f8ea42032
@ -280,7 +280,7 @@ void Encoding::init() const
|
|||||||
// We do not need to check all UCS4 code points, it is enough
|
// We do not need to check all UCS4 code points, it is enough
|
||||||
// if we check all 256 code points of this encoding.
|
// if we check all 256 code points of this encoding.
|
||||||
for (unsigned short j = 0; j < 256; ++j) {
|
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_);
|
std::vector<char_type> const ucs4 = eightbit_to_ucs4(&c, 1, iconvName_);
|
||||||
if (ucs4.size() == 1) {
|
if (ucs4.size() == 1) {
|
||||||
char_type const c = ucs4[0];
|
char_type const c = ucs4[0];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user