scummvm/scummvm — comment on commit 024fe9ced52a1081a743646ef4459cfd34093e8e
File: engines/dreamweb/people.cpp line 372
By fingolfin:

I now get these warnings:

engines/dreamweb/people.cpp: In member function ‘void DreamGen::DreamGenContext::rockstar(DreamGen::ReelRoutine&)’:
engines/dreamweb/people.cpp:304: warning: negative integer implicitly converted to unsigned type
engines/dreamweb/people.cpp: In member function ‘void DreamGen::DreamGenContext::security(DreamGen::ReelRoutine&)’:
engines/dreamweb/people.cpp:372: warning: negative integer implicitly converted to unsigned type

Three ways to get rid of these
1) Cast -1 to byte (or replace it by 255 or 0xFF)
2) Introduce a "ByteRef" data type akin to WordRef, and allow assigning negative values
3) Remove the -Wconversion switch from configure (only enabled for "older" GCC versions, like those on OSX)