Correctly apply unsigned casting patch to merge branch

This commit is contained in:
Vighnesh 2025-02-14 13:08:09 -08:00
parent 1d001c44a6
commit 69afd5990f

View file

@ -117,9 +117,9 @@ struct StringWriter : Writer
index = newlinePos + 1;
}
pos.line += numLines;
pos.line += unsigned(numLines);
if (numLines > 0)
pos.column = unsigned(s.size()) - index;
pos.column = unsigned(s.size()) - unsigned(index);
else
pos.column += unsigned(s.size());
}