From c24d2cf8cd07e8989770c6073ee45699654e3da6 Mon Sep 17 00:00:00 2001 From: PJB3005 Date: Sun, 1 Mar 2026 14:54:19 +0100 Subject: [PATCH] Define fpcLy enum as being u32 explicitly Fixes compiler warnings about conversions --- include/f_pc/f_pc_layer_tag.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/f_pc/f_pc_layer_tag.h b/include/f_pc/f_pc_layer_tag.h index e0d4abc53a..72199d6eb3 100644 --- a/include/f_pc/f_pc_layer_tag.h +++ b/include/f_pc/f_pc_layer_tag.h @@ -4,7 +4,11 @@ #include "SSystem/SComponent/c_tag.h" +#if !__MWERKS__ +enum : u32 { +#else enum { +#endif fpcLy_ROOT_e = 0, fpcLy_CURRENT_e = 0xFFFFFFFD, fpcLy_SPECIAL_e = 0xFFFFFFFE,