Commit cdb98139 by Aaron Leung

Merge pull request #23 from Igorbek/master

Fix bug in loop in Document::emit_css when size_t is unsigned.
parents 3f580e35 2ce497be
......@@ -136,7 +136,8 @@ namespace Sass {
// trim trailing whitespace
if (!retval.empty()) {
size_t newlines = 0;
for (size_t i = retval.length() - 1; i >= 0; --i) {
size_t i = retval.length();
while (i--) {
if (retval[i] == '\n') {
++newlines;
continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment