From 3735585739750c4cff5b9ebb7afa42a84aaedcfd Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 18 Mar 2021 20:28:45 +0530 Subject: [PATCH] another windows compiler warning --- src/calibre/srv/fast_css_transform.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/srv/fast_css_transform.cpp b/src/calibre/srv/fast_css_transform.cpp index 652bc1784c..1a0137b39a 100644 --- a/src/calibre/srv/fast_css_transform.cpp +++ b/src/calibre/srv/fast_css_transform.cpp @@ -302,7 +302,7 @@ class Token { for (auto ch : text) { if (is_printable_ascii(ch)) { if ('A' <= ch && ch <= 'Z') ch += 'a' - 'A'; - scratch.push_back(ch); + scratch.push_back((char)ch); } else return false; } return true;