Fix shadowing and signedness warnings

This commit is contained in:
Marc Gilleron 2022-04-16 01:16:43 +01:00
parent 8cd51d3d68
commit f452d8577a

View File

@ -23,7 +23,7 @@ void CodeGenHelper::add(const char *s, unsigned int len) {
for (unsigned int i = 0; i < len; ++i) {
const char c = s[i];
if (_newline) {
for (int i = 0; i < _indent_level; ++i) {
for (unsigned int j = 0; j < _indent_level; ++j) {
_main_ss << " ";
}
_newline = false;