Use MxS32 in legoutils.cpp

This commit is contained in:
Anonymous Maarten 2024-12-28 00:39:29 +00:00 committed by GitHub
parent 1af80dfbf7
commit c185ba2b16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -758,7 +758,7 @@ void WriteDefaultTexture(LegoFile* p_file, const char* p_name)
SDL_Palette* newPalette = SDL_CreatePalette(i);
if (i > 0) {
for (int j = 0; j < i; j++) {
for (MxS32 j = 0; j < i; j++) {
image->SetPaletteEntry(j, paletteEntries[j]);
}
}