mirror of
https://github.com/luau-lang/luau.git
synced 2025-03-04 03:01:41 +00:00
Correctly apply unsigned casting patch to merge branch
This commit is contained in:
parent
1d001c44a6
commit
69afd5990f
1 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue