Skip to content

Commit 4bf84d9

Browse files
committed
evaluator: Fix implicit cast
1 parent 541844f commit 4bf84d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/source/pl/pattern_language.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ namespace pl {
296296
if (checkResult && returnCode != 0) {
297297
this->m_currError = core::err::PatternLanguageError(core::err::E0009.format(fmt::format("Pattern exited with non-zero result: {}", i64(returnCode))), 0, 1);
298298

299-
evaluationResult = returnCode;
299+
evaluationResult = static_cast<int>(returnCode);
300300
}
301301
}
302302

0 commit comments

Comments
 (0)