aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/zvision/actions.cpp2
-rw-r--r--engines/zvision/actions.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/actions.cpp b/engines/zvision/actions.cpp
index ea0d06b1d7..5af637f9be 100644
--- a/engines/zvision/actions.cpp
+++ b/engines/zvision/actions.cpp
@@ -45,7 +45,7 @@ namespace ZVision {
ActionAdd::ActionAdd(ZVision *engine, const Common::String &line) :
ResultAction(engine) {
- sscanf(line.c_str(), "%*[^(](%u,%u)", &_key, &_value);
+ sscanf(line.c_str(), "%*[^(](%u,%d)", &_key, &_value);
}
bool ActionAdd::execute() {
diff --git a/engines/zvision/actions.h b/engines/zvision/actions.h
index cc32cc0b43..e2e57c3a74 100644
--- a/engines/zvision/actions.h
+++ b/engines/zvision/actions.h
@@ -94,7 +94,7 @@ public:
private:
uint32 _key;
- uint _value;
+ int _value;
};
class ActionAssign : public ResultAction {