This repository was archived by the owner on Oct 24, 2025. It is now read-only.
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 = \
3131 prelexer.cpp \
3232 sass.cpp \
3333 sass_interface.cpp \
34+ sass2scss/sass2scss.cpp \
3435 source_map.cpp \
3536 to_c.cpp \
3637 to_string.cpp \
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ namespace Sass {
159159 if (real_path.length () > 5 ) {
160160 extension = real_path.substr (real_path.length () - 5 , 5 );
161161 }
162- for (int i=0 ; i<extension.size ();++i)
162+ for (size_t i=0 ; i<extension.size ();++i)
163163 extension[i] = tolower (extension[i]);
164164 return contents;
165165 }
@@ -182,10 +182,10 @@ namespace Sass {
182182 contents[size] = ' \0 ' ;
183183 file.close ();
184184 }
185- for (int i=0 ; i<extension.size ();++i)
185+ for (size_t i=0 ; i<extension.size ();++i)
186186 extension[i] = tolower (extension[i]);
187187 if (extension == " .sass" && contents != 0 ) {
188- char * converted = Sass:: sass2scss (contents, SASS2SCSS_PRETTIFY_1);
188+ char * converted = sass2scss (contents, SASS2SCSS_PRETTIFY_1);
189189 delete[] contents; // free the indented contents
190190 return converted; // should be freed by caller
191191 } else {
You can’t perform that action at this time.
0 commit comments