diff options
author | Travis Howell | 2006-02-05 00:50:03 +0000 |
---|---|---|
committer | Travis Howell | 2006-02-05 00:50:03 +0000 |
commit | 937a5f8af5289fb05911e76d31620368e745851f (patch) | |
tree | fa4662fcae081a4367c0f1934ef5839118f89062 /scumm/script_v72he.cpp | |
parent | df3d553e321aa01df6357134e7d42c655379dbea (diff) | |
download | scummvm-rg350-937a5f8af5289fb05911e76d31620368e745851f.tar.gz scummvm-rg350-937a5f8af5289fb05911e76d31620368e745851f.tar.bz2 scummvm-rg350-937a5f8af5289fb05911e76d31620368e745851f.zip |
Change to int32 for safety.
svn-id: r20383
Diffstat (limited to 'scumm/script_v72he.cpp')
-rw-r--r-- | scumm/script_v72he.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index 9a5f2c09ac..8b335bf425 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -1851,7 +1851,7 @@ void ScummEngine_v72he::o72_readFile() { debug(1, "o72_readFile: slot %d, subOp %d val %d", slot, subOp, val); } -void ScummEngine_v72he::writeFileFromArray(int slot, int resID) { +void ScummEngine_v72he::writeFileFromArray(int slot, int32 resID) { ArrayHeader *ah = (ArrayHeader *)getResourceAddress(rtString, resID); int32 size = (FROM_LE_32(ah->dim1end) - FROM_LE_32(ah->dim1start) + 1) * (FROM_LE_32(ah->dim2end) - FROM_LE_32(ah->dim2start) + 1); @@ -1860,7 +1860,7 @@ void ScummEngine_v72he::writeFileFromArray(int slot, int resID) { } void ScummEngine_v72he::o72_writeFile() { - int resID = pop(); + int32 resID = pop(); int slot = pop(); byte subOp = fetchScriptByte(); |