From 46b7dd926bb5127e552ebc15650656f12e6f8d5b Mon Sep 17 00:00:00 2001 From: fallenoak Date: Tue, 2 Dec 2025 16:26:29 -0600 Subject: [PATCH] chore(ui): use uint32_t for bitpacked guard flags in CLayoutFrame --- src/ui/CLayoutFrame.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ui/CLayoutFrame.hpp b/src/ui/CLayoutFrame.hpp index 35fb1b7..5863eba 100644 --- a/src/ui/CLayoutFrame.hpp +++ b/src/ui/CLayoutFrame.hpp @@ -27,12 +27,12 @@ class CLayoutFrame { CFramePoint* m_points[FRAMEPOINT_NUMPOINTS] = {}; TSList> m_resizeList; struct { - int32_t left : 1; - int32_t top : 1; - int32_t right : 1; - int32_t bottom : 1; - int32_t centerX : 1; - int32_t centerY : 1; + uint32_t left : 1; + uint32_t top : 1; + uint32_t right : 1; + uint32_t bottom : 1; + uint32_t centerX : 1; + uint32_t centerY : 1; } m_guard; uint32_t m_resizeCounter : 8; uint32_t m_flags : 16;