diff options
| author | louis <louist103@gmail.com> | 2022-11-12 17:37:23 -0500 |
|---|---|---|
| committer | louis <louist103@gmail.com> | 2022-11-12 17:37:23 -0500 |
| commit | d6777bfad83930e1dc065683441b8a9e218bc05e (patch) | |
| tree | 3d19163c57dfa54c47722b0f20ac5aa78f0bcba5 /ZAPD/ZRoom | |
| parent | 2b5ced906972348fa4e14ba63c3fd1ac680051af (diff) | |
add uintptr_t cast
Diffstat (limited to 'ZAPD/ZRoom')
| -rw-r--r-- | ZAPD/ZRoom/Commands/SetRoomList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ZAPD/ZRoom/Commands/SetRoomList.cpp b/ZAPD/ZRoom/Commands/SetRoomList.cpp index 134be08..3e68202 100644 --- a/ZAPD/ZRoom/Commands/SetRoomList.cpp +++ b/ZAPD/ZRoom/Commands/SetRoomList.cpp @@ -105,7 +105,7 @@ std::string RomFile::GetBodySourceCode() const if (!isFirst) declaration += "\n"; - declaration += StringHelper::Sprintf("\t{ _%sSegmentRomStart, _%sSegmentRomEnd },", + declaration += StringHelper::Sprintf("\t{ (uintptr_t)_%sSegmentRomStart, (uintptr_t)_%sSegmentRomEnd },", roomName.c_str(), roomName.c_str()); isFirst = false; } |
