portx64: fixed a bunch of instances of Wincompatible-pointer-types + filesetup.c: use ALIGN macro

This commit is contained in:
Raf committed 2024-08-09 02:31:10 +08:00
1 parent a9e82658fd
commit 01cbcd99cb
4 files changed
+13 -14

No files matched your search

+1 -1
View File
@@ -4192,7 +4192,7 @@ void bgunTickMasterLoad(void)
modelInit(&hand->handmodel, player->gunctrl.handmodeldef, hand->handsavedata, false);
}
hand->unk0dcc = (s32 *) player->gunctrl.memloadptr;
hand->unk0dcc = (uintptr_t *) player->gunctrl.memloadptr;
value = bgunCreateModelCmdList(&hand->gunmodel, player->gunctrl.gunmodeldef->rootnode, (uintptr_t *) player->gunctrl.memloadptr);
+1 -1
View File
@@ -2306,7 +2306,7 @@ struct hand {
/*0x0dbc*/ u32 fspare7;
/*0x0dc0*/ u32 fspare8;
/*0x0dc4*/ struct abmag abmag;
/*0x0dcc*/ s32 *unk0dcc;
/*0x0dcc*/ uintptr_t *unk0dcc;
/*0x0dd0*/ uintptr_t *unk0dd0;
/*0x0dd4*/ s32 unk0dd4;
/*0x0dd8*/ Mtxf *unk0dd8;