Quote: Warning : implicit arithmetic conversion from 'int' to 'unsigned char'getSuperPaletteOfs() returns an unsigned char.
gaSimulationTrackSel.cpp line 468 >setSuperPaletteOfs(m_pTopMap->getSuperPaletteOfs() == 0 ? 8 : 0);
WHERE, CODEWARRIOR? WHERE IS THE INT? I SEE NO INTS?
Solution:
m_pTopMapNext->setSuperPaletteOfs((u8)(m_pTopMap->getSuperPaletteOfs() == 0 ? 8 : 0)); // Shut the f*** up, Codewarrior
*gets back to work*
The numerical literals (0, 8) are assumed to be 'int' even though there shouldn't be any problem converting them to 'unsigned char'. Or something like that - the literals being the problem and not the function call.