mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 20:34:12 +00:00
WINTERMUTE: Fix MSVC Warning
This is due to the _lastLine variable being unsigned, but having -1 assigned to it as a default / invalid value. This could probably be assigned 0 with no issues, but since this is exposed, this warning is fixed instead by assigning the unsigned equivalent of -1 so no dependent code will see a change.
This commit is contained in:
parent
971b16fdac
commit
8da29e1b89
@ -188,7 +188,7 @@ Error DebuggerController::stepFinish() {
|
||||
|
||||
void DebuggerController::clear() {
|
||||
_lastScript = nullptr;
|
||||
_lastLine = -1;
|
||||
_lastLine = 0xFFFFFFFF; // Invalid
|
||||
}
|
||||
|
||||
Common::String DebuggerController::readValue(const Common::String &name, Error *error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user