From 74e1d4c2090683b1e9fd46418bb28be5a0243a6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= <159546+serprex@users.noreply.github.com> Date: Sat, 20 Jun 2026 19:40:22 +0000 Subject: [PATCH] fix windows warning (#6781) --- soh/soh/Enhancements/randomizer/savefile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/soh/Enhancements/randomizer/savefile.cpp b/soh/soh/Enhancements/randomizer/savefile.cpp index 15d644c902..a1103a47f4 100644 --- a/soh/soh/Enhancements/randomizer/savefile.cpp +++ b/soh/soh/Enhancements/randomizer/savefile.cpp @@ -285,7 +285,7 @@ void SetStartingItems() { gSaveContext.isDoubleMagicAcquired = startMagic >= 2; gSaveContext.magicLevel = startMagic; gSaveContext.magicCapacity = startMagic * MAGIC_NORMAL_METER; - gSaveContext.magic = gSaveContext.magicCapacity; + gSaveContext.magic = static_cast(gSaveContext.magicCapacity); } uint8_t startBombchu = Randomizer_GetSettingValue(RSK_STARTING_BOMBCHU_BAG);