mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
another windows compiler warning
This commit is contained in:
parent
a53ea9342e
commit
3735585739
@ -302,7 +302,7 @@ class Token {
|
|||||||
for (auto ch : text) {
|
for (auto ch : text) {
|
||||||
if (is_printable_ascii(ch)) {
|
if (is_printable_ascii(ch)) {
|
||||||
if ('A' <= ch && ch <= 'Z') ch += 'a' - 'A';
|
if ('A' <= ch && ch <= 'Z') ch += 'a' - 'A';
|
||||||
scratch.push_back(ch);
|
scratch.push_back((char)ch);
|
||||||
} else return false;
|
} else return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user