aboutsummaryrefslogtreecommitdiff
path: root/engines/tucker
diff options
context:
space:
mode:
authorAdrian Frühwirth2018-04-07 13:06:05 +0200
committerAdrian Frühwirth2018-04-07 13:06:05 +0200
commit9b21e7507c90f3c9449ee23cb70af250ec8ba0da (patch)
treeb6f31a9677a4c11020e05fe0cf08171ee4aeb770 /engines/tucker
parent6409e99089a1ce8783d3e5513baafebdd317b6d4 (diff)
downloadscummvm-rg350-9b21e7507c90f3c9449ee23cb70af250ec8ba0da.tar.gz
scummvm-rg350-9b21e7507c90f3c9449ee23cb70af250ec8ba0da.tar.bz2
scummvm-rg350-9b21e7507c90f3c9449ee23cb70af250ec8ba0da.zip
TUCKER: Do not assign negative value to unsigned int
Diffstat (limited to 'engines/tucker')
-rw-r--r--engines/tucker/saveload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tucker/saveload.cpp b/engines/tucker/saveload.cpp
index 484c47e5da..af836593c3 100644
--- a/engines/tucker/saveload.cpp
+++ b/engines/tucker/saveload.cpp
@@ -156,7 +156,7 @@ WARN_UNUSED_RESULT TuckerEngine::SavegameError TuckerEngine::readSavegameHeader(
}
WARN_UNUSED_RESULT TuckerEngine::SavegameError TuckerEngine::readSavegameHeader(Common::InSaveFile *file, SavegameHeader &header, bool skipThumbnail) {
- header.version = -1;
+ header.version = 0;
header.flags = 0;
header.description.clear();
header.saveDate = 0;