We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 601be96 + e9f4310 commit 3054e97Copy full SHA for 3054e97
src/output.cpp
@@ -67,7 +67,8 @@ namespace Sass {
67
// search for unicode char
68
for(const char& chr : wbuf.buffer) {
69
// skip all ascii chars
70
- if (chr >= 0) continue;
+ // static cast to unsigned to handle `char` being signed / unsigned
71
+ if (static_cast<unsigned>(chr) < 128) continue;
72
// declare the charset
73
if (output_style() != COMPRESSED)
74
charset = "@charset \"UTF-8\";"
0 commit comments