Use int8 instead of char.

Char is not guaranteed to be signed.
This commit is contained in:
Snesrev
2023-03-20 20:01:27 +01:00
parent 51ac35a65d
commit 7a29af4260
26 changed files with 532 additions and 532 deletions

View File

@@ -348,7 +348,7 @@ PairU16 PalInstr_SetPalfxIndex(uint16 k, uint16 j) { // 0x8DF1C6
}
void PalPreInstr_F621(uint16 k) { // 0x8DF621
if (*(uint16 *)((char *)&flag_for_palette_fx_objects + k))
if (*(uint16 *)((uint8 *)&flag_for_palette_fx_objects + k))
palettefx_ids[k >> 1] = 0;
}