diff options
author | anotherguest | 2013-04-04 15:39:54 +0200 |
---|---|---|
committer | anotherguest | 2013-04-04 15:39:54 +0200 |
commit | f9247f0bce0a6a6f658ddd6fe7b034f3855ffa77 (patch) | |
tree | a90bd84443ef6734461ff1237a7752f026ff2e83 | |
parent | d495a55f8de75eca07ac6e421f0e941bda1d577e (diff) | |
download | scummvm-rg350-f9247f0bce0a6a6f658ddd6fe7b034f3855ffa77.tar.gz scummvm-rg350-f9247f0bce0a6a6f658ddd6fe7b034f3855ffa77.tar.bz2 scummvm-rg350-f9247f0bce0a6a6f658ddd6fe7b034f3855ffa77.zip |
WINTERMUTE: Use template with MIN
-rw-r--r-- | engines/wintermute/base/file/base_package.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/file/base_package.cpp b/engines/wintermute/base/file/base_package.cpp index 4434ed3951..73f767c3ef 100644 --- a/engines/wintermute/base/file/base_package.cpp +++ b/engines/wintermute/base/file/base_package.cpp @@ -61,7 +61,7 @@ static bool findPackageSignature(Common::SeekableReadStream *f, uint32 *offset) uint32 bytesRead = startPos; while (bytesRead < fileSize - 16) { - uint32 toRead = MIN((unsigned int)32768, fileSize - bytesRead); + uint32 toRead = MIN<unsigned int>((unsigned int)32768, fileSize - bytesRead); f->seek((int32)startPos, SEEK_SET); uint32 actuallyRead = f->read(buf, toRead); if (actuallyRead != toRead) { |