aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLadislav Zezula <zezula@volny.cz>2024-04-16 14:39:12 +0200
committerLadislav Zezula <zezula@volny.cz>2024-04-16 14:39:12 +0200
commit578885058df9f8db6c8efa9a3b043fe1e5bb739f (patch)
tree50dc880c015ff1f2b5c488f799395a50af23b6b9
parent25f52b76295eec974fba4b79869c664b338cf258 (diff)
Removed warning
-rw-r--r--src/SFileReadFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SFileReadFile.cpp b/src/SFileReadFile.cpp
index 153401a..8ab5f48 100644
--- a/src/SFileReadFile.cpp
+++ b/src/SFileReadFile.cpp
@@ -197,7 +197,7 @@ static DWORD ReadMpqSectors(TMPQFile * hf, LPBYTE pbBuffer, DWORD dwByteOffset,
// Special case (MPQ_2024_v1_300TK2.09p.w3x, file File00010254.blp):
// Extracted less than required. Fill the rest with zeros
- if(cbOutSector < dwBytesInThisSector)
+ if((DWORD)(cbOutSector) < dwBytesInThisSector)
{
memset(pbOutSector + cbOutSector, 0, dwBytesInThisSector - cbOutSector);
}