Skip to content

Commit 131540c

Browse files
committed
Fix issue with (too strict) assertion in MSVC debug mode
1 parent a57a66e commit 131540c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/emitter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ namespace Sass {
204204
void Emitter::append_optional_space()
205205
{
206206
if ((output_style() != COMPRESSED) && buffer().size()) {
207-
char lst = buffer().at(buffer().length() - 1);
207+
unsigned char lst = buffer().at(buffer().length() - 1);
208208
if (!isspace(lst) || scheduled_delimiter) {
209209
append_mandatory_space();
210210
}

0 commit comments

Comments
 (0)