We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ce634d commit 9e05a44Copy full SHA for 9e05a44
1 file changed
examples/disco/example.cpp
@@ -20,7 +20,7 @@ std::string convert_to_utf8(const std::string& str) {
20
if (v < 128) {
21
buf << v;
22
} else {
23
- buf << static_cast<char>(195) << static_cast<char>(v - 64);
+ buf << static_cast<unsigned char>(195) << static_cast<unsigned char>(v - 64);
24
}
25
26
return buf.str();
0 commit comments