From 69afd5990f6e26db88b16226b51bd00becff7122 Mon Sep 17 00:00:00 2001 From: Vighnesh Date: Fri, 14 Feb 2025 13:08:09 -0800 Subject: [PATCH] Correctly apply unsigned casting patch to merge branch --- Analysis/src/Transpiler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Analysis/src/Transpiler.cpp b/Analysis/src/Transpiler.cpp index 1c8c5e85..4ea8a5d4 100644 --- a/Analysis/src/Transpiler.cpp +++ b/Analysis/src/Transpiler.cpp @@ -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()); }