linux-build: cast chrflags->Model in vtxstore modelGetNodeRwData call

GCC 14 hard-errors enum(CHRFLAG)->pointer as 'incompatible type for
argument' with no controlling warning flag (not downgraded by
-fpermissive / -Wno-error=int-conversion). Line 157 of the same WIP-decomp
function already casts the identical (Model*)var_v0->chrflags expression;
match it on line 162. Codegen-identical.
This commit is contained in:
James Dansereau committed 2026-09-02 21:52:57 -04:00
1 parent 1077a2db23
commit 97b0539ef7
1 file changed
+1 -1
+1 -1
View File
@@ -159,7 +159,7 @@ void sub_GAME_7F09BAC4(s32 find, s32 replacement) {
while (var_a1 != NULL) {
val = var_a1->Opcode & 0xFF;
if (val == 0x18) {
temp_v0_2 = modelGetNodeRwData(var_v0->chrflags, var_a1);
temp_v0_2 = modelGetNodeRwData((Model*)var_v0->chrflags, var_a1);
if (find == *temp_v0_2) {
*temp_v0_2 = replacement;
}