mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
c5d8c7210d
SYMTBL_LITERAL_FLAG was defined as 1UL, which can be smaller than uintptr_t on some platforms (e.g., Windows 64-bit). This caused symtbl_get_ptr() to return a corrupted pointer. Changed the flag to be explicitly cast to uintptr_t to ensure correct behavior on all platforms. Co-authored-by: Gemini <gemini@google.com>