Fix some warnings raised by MSVC

This commit is contained in:
ISSOtm
2026-04-13 22:13:29 +02:00
committed by Eldred Habert
parent 0849eb801e
commit 6b994b1737
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -358,7 +358,7 @@ void LexerState::setFileAsNextState(std::string const &filePath, bool updateStat
fatal("Failed to read file \"%s\": %s", path.c_str(), strerror(errno));
// LCOV_EXCL_STOP
}
content.emplace<ViewedContent>(ptr, size);
content.emplace<ViewedContent>(ptr, static_cast<size_t>(size));
// LCOV_EXCL_START
verbosePrint(VERB_INFO, "File \"%s\" is fully read\n", path.c_str());