diff options
author | Johannes Schickel | 2008-04-17 17:16:52 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-04-17 17:16:52 +0000 |
commit | 75641c405e01df1dbceaca2038fe3c4c95c39dc5 (patch) | |
tree | 21041d004e2e5728f8bdae363a009bdb8b9ef956 /engines | |
parent | 7f881d0be1e9e11d2c84c1e0d4ccc771513d2dce (diff) | |
download | scummvm-rg350-75641c405e01df1dbceaca2038fe3c4c95c39dc5.tar.gz scummvm-rg350-75641c405e01df1dbceaca2038fe3c4c95c39dc5.tar.bz2 scummvm-rg350-75641c405e01df1dbceaca2038fe3c4c95c39dc5.zip |
Fixed gcc warning.
svn-id: r31543
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/resource.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/kyra/resource.cpp b/engines/kyra/resource.cpp index ce8a67845d..8b07b50a6c 100644 --- a/engines/kyra/resource.cpp +++ b/engines/kyra/resource.cpp @@ -682,13 +682,13 @@ bool ResLoaderTlk::loadFile(const Common::String &filename, Common::SeekableRead entry.preload = false; entry.prot = false; - uint32 filename = stream.readUint32LE(); - uint32 offset = stream.readUint32LE(); + uint32 resFilename = stream.readUint32LE(); + uint32 resOffset = stream.readUint32LE(); - entry.offset = offset+4; + entry.offset = resOffset+4; char realFilename[20]; - snprintf(realFilename, 20, "%.08u.AUD", filename); + snprintf(realFilename, 20, "%.08u.AUD", resFilename); uint32 curOffset = stream.pos(); stream.seek(entry.offset+2, SEEK_SET); |