mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-10 11:51:42 +00:00
Fix some truncation warnings
Amusingly, reported by MSVC only
This commit is contained in:
+1
-1
@@ -76,5 +76,5 @@ std::pair<WarningState, std::optional<uint32_t>> getInitialWarningState(std::str
|
||||
}
|
||||
}
|
||||
|
||||
return {state, param > UINT32_MAX ? UINT32_MAX : param};
|
||||
return {state, param > UINT32_MAX ? UINT32_MAX : uint32_t(param)};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user