diff options
author | D G Turner | 2019-09-15 23:00:36 +0100 |
---|---|---|
committer | D G Turner | 2019-09-15 23:00:36 +0100 |
commit | 8da29e1b89b60d34a0ff2b8898fc2149e608ea0c (patch) | |
tree | f7d01d3e99d4748486fa3878b9dba1e11d39f0b0 /engines | |
parent | 971b16fdac565113cd8fd2717837acae75108f31 (diff) | |
download | scummvm-rg350-8da29e1b89b60d34a0ff2b8898fc2149e608ea0c.tar.gz scummvm-rg350-8da29e1b89b60d34a0ff2b8898fc2149e608ea0c.tar.bz2 scummvm-rg350-8da29e1b89b60d34a0ff2b8898fc2149e608ea0c.zip |
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.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wintermute/debugger/debugger_controller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/debugger/debugger_controller.cpp b/engines/wintermute/debugger/debugger_controller.cpp index 8d1968d020..3d13ab3591 100644 --- a/engines/wintermute/debugger/debugger_controller.cpp +++ b/engines/wintermute/debugger/debugger_controller.cpp @@ -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) { |