1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-21 17:16:44 +00:00

Resolve implicit conversion error.

This commit is contained in:
Thomas Harte
2025-12-11 17:53:16 -05:00
parent 072c23857c
commit fd33ee0e09
+1 -1
View File
@@ -642,7 +642,7 @@ private:
/// @returns A pointer to the start of the RAM segment representing @c page if any; otherwise @c nullptr.
uint8_t *ram_segment(const uint8_t page) {
if(page < MinRAMSlot) return nullptr;
return &ram_[(page - MinRAMSlot) << 14];
return &ram_[size_t((page - MinRAMSlot) << 14)];
}
struct ROMPage {