Follow-up signed integral fix. #5689

Merged
vng merged 1 commit from vng-fix into master 2023-08-10 11:54:43 +00:00

View file

@ -35,7 +35,7 @@ enum OverlayRank : uint8_t
};
// Should be the same as OVERLAYS_MAX_PRIORITY in kothic.
uint32_t constexpr kOverlaysMaxPriority = 10000;
int32_t constexpr kOverlaysMaxPriority = 10000;
Review

why signed?

why signed?
uint64_t constexpr kPriorityMaskZoomLevel = 0xFF0000000000FFFF;
uint64_t constexpr kPriorityMaskManual = 0x00FFFFFFFF00FFFF;