diff options
author | Ľubomír Remák | 2018-08-19 17:08:31 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-25 23:12:01 +0200 |
commit | cf878d87776f779f2a13669689361903fbe438cb (patch) | |
tree | 8de5da9588650d7b0ffec60ecc0e3e83299e3ce6 /engines/mutationofjb/commands/changecommand.cpp | |
parent | 959f37dfe4f0d46a28217f85832af07b73e190c0 (diff) | |
download | scummvm-rg350-cf878d87776f779f2a13669689361903fbe438cb.tar.gz scummvm-rg350-cf878d87776f779f2a13669689361903fbe438cb.tar.bz2 scummvm-rg350-cf878d87776f779f2a13669689361903fbe438cb.zip |
MUTATIONOFJB: Change old-style C casts to static_cast.
Diffstat (limited to 'engines/mutationofjb/commands/changecommand.cpp')
-rw-r--r-- | engines/mutationofjb/commands/changecommand.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mutationofjb/commands/changecommand.cpp b/engines/mutationofjb/commands/changecommand.cpp index 73c5357947..9051e8eeaa 100644 --- a/engines/mutationofjb/commands/changecommand.cpp +++ b/engines/mutationofjb/commands/changecommand.cpp @@ -317,13 +317,13 @@ Common::String ChangeCommand::getValueAsString() const { case PF: case PL: case PD: - return Common::String::format("%d", (int)_value._byteVal); + return Common::String::format("%d", static_cast<int>(_value._byteVal)); case SX: case SY: case XX: case XL: case WX: - return Common::String::format("%d", (int)_value._wordVal); + return Common::String::format("%d", static_cast<int>(_value._wordVal)); default: return "(unknown)"; } |