Fix -Wwrite-strings warnings (#1267)

warning: ISO C++ forbids converting a string constant to 'LegoChar*'
This commit is contained in:
Anonymous Maarten
2024-12-24 01:11:38 +01:00
committed by GitHub
parent 3f4732b0bc
commit b4d2ea72af
6 changed files with 8 additions and 8 deletions

View File

@@ -49,7 +49,7 @@ MxS32 g_unk0x100f43f0[] = {
};
// GLOBAL: LEGO1 0x100f4410
LegoChar* g_unk0x100f4410[] = {"bd", "pg", "rd", "sy", "ro", "cl"};
const LegoChar* g_unk0x100f4410[] = {"bd", "pg", "rd", "sy", "ro", "cl"};
// GLOBAL: LEGO1 0x100f4428
MxS32 g_unk0x100f4428[] = {
@@ -68,7 +68,7 @@ MxS32 g_unk0x100f4428[] = {
};
// GLOBAL: LEGO1 0x100f4458
LegoChar* g_unk0x100f4458[] = {"papa", "nick", "laura", "cl", "pg", "rd", "sy"};
const LegoChar* g_unk0x100f4458[] = {"papa", "nick", "laura", "cl", "pg", "rd", "sy"};
// FUNCTION: LEGO1 0x1004fce0
// FUNCTION: BETA10 0x1003a5a0