Shader: compilation fixes

This commit is contained in:
Jérôme Leclercq
2021-04-15 14:01:36 +02:00
parent fce336bfc9
commit 9fd4249a87
4 changed files with 30 additions and 27 deletions

View File

@@ -73,7 +73,7 @@ namespace Nz::ShaderLang
char c = Peek(0);
Token token;
token.column = currentPos - lastLineFeed;
token.column = static_cast<unsigned int>(currentPos - lastLineFeed);
token.line = lineNumber;
if (c == -1)