mirror of
https://github.com/luau-lang/luau.git
synced 2025-03-04 03:01:41 +00:00
Cast types appropriately to fix compilation error.
This commit is contained in:
parent
7199da820f
commit
6b30374b3a
1 changed files with 2 additions and 2 deletions
|
@ -117,9 +117,9 @@ struct StringWriter : Writer
|
||||||
index = newlinePos + 1;
|
index = newlinePos + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
pos.line += numLines;
|
pos.line += unsigned(numLines);
|
||||||
if (numLines > 0)
|
if (numLines > 0)
|
||||||
pos.column = unsigned(s.size()) - index;
|
pos.column = unsigned(s.size()) - unsigned(index);
|
||||||
else
|
else
|
||||||
pos.column += unsigned(s.size());
|
pos.column += unsigned(s.size());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue