mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-21 09:21:08 +00:00
Fixed gcc warning.
svn-id: r31543
This commit is contained in:
parent
7f881d0be1
commit
75641c405e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user