File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ SOURCES = \
31
31
prelexer.cpp \
32
32
sass.cpp \
33
33
sass_interface.cpp \
34
+ sass2scss/sass2scss.cpp \
34
35
source_map.cpp \
35
36
to_c.cpp \
36
37
to_string.cpp \
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ namespace Sass {
159
159
if (real_path.length () > 5 ) {
160
160
extension = real_path.substr (real_path.length () - 5 , 5 );
161
161
}
162
- for (int i=0 ; i<extension.size ();++i)
162
+ for (size_t i=0 ; i<extension.size ();++i)
163
163
extension[i] = tolower (extension[i]);
164
164
return contents;
165
165
}
@@ -182,10 +182,10 @@ namespace Sass {
182
182
contents[size] = ' \0 ' ;
183
183
file.close ();
184
184
}
185
- for (int i=0 ; i<extension.size ();++i)
185
+ for (size_t i=0 ; i<extension.size ();++i)
186
186
extension[i] = tolower (extension[i]);
187
187
if (extension == " .sass" && contents != 0 ) {
188
- char * converted = Sass:: sass2scss (contents, SASS2SCSS_PRETTIFY_1);
188
+ char * converted = sass2scss (contents, SASS2SCSS_PRETTIFY_1);
189
189
delete[] contents; // free the indented contents
190
190
return converted; // should be freed by caller
191
191
} else {
You can’t perform that action at this time.
0 commit comments