From 3b26aae5321f14fcdfaf4360605daaa4da6a99cf Mon Sep 17 00:00:00 2001 From: kipcode66 Date: Mon, 8 Dec 2025 23:31:22 -0500 Subject: Improving standard compiler compatibility (#2926) * Adding explicit dolphin/ prefix & fix characters * Rename ShiftJIS to SJIS * Separate JASSeqReader read methods implementation between compilers. * Fix pointer.h * fix d_item_data typo * fix gcn matching issue --- src/d/d_map_path_dmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/d/d_map_path_dmap.cpp') diff --git a/src/d/d_map_path_dmap.cpp b/src/d/d_map_path_dmap.cpp index de6c6e2155..a7d6172436 100644 --- a/src/d/d_map_path_dmap.cpp +++ b/src/d/d_map_path_dmap.cpp @@ -422,7 +422,7 @@ int dMpath_c::setPointer(dDrawPath_c::room_class* i_room, s8* param_1, s8* param i_room->mpFloatData = (f32*)((uintptr_t)i_room + (uintptr_t)i_room->mpFloatData); dDrawPath_c::floor_class* floor_p = i_room->mpFloor; - int room = (int)i_room; + int room = (intptr_t)i_room; for (int i = 0; i < i_room->mFloorNum; i++) { floor_p->mpGroup = (dDrawPath_c::group_class*)(room + (uintptr_t)floor_p->mpGroup); -- cgit v1.2.3