Fix/support build with msvc (#214)

This commit is contained in:
sora-mono
2025-09-03 22:21:49 +08:00
committed by GitHub
parent cb3bfd54f9
commit bd0ead226b
6 changed files with 43 additions and 10 deletions

View File

@@ -39,10 +39,10 @@ namespace clice {
struct LocalSourceRange {
/// The begin position offset to the source file.
uint32_t begin = -1;
uint32_t begin = static_cast<uint32_t>(-1);
/// The end position offset to the source file.
uint32_t end = -1;
uint32_t end = static_cast<uint32_t>(-1);
constexpr bool operator== (const LocalSourceRange& other) const = default;