[Scummvm-git-logs] scummvm master -> 97a138ae2e51e357d93e2eb689ad797338fae4fb
digitall
noreply at scummvm.org
Mon May 23 12:48:20 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
97a138ae2e CHEWY: Fix Signed vs. Unsigned Comparison GCC Compiler Warning
Commit: 97a138ae2e51e357d93e2eb689ad797338fae4fb
https://github.com/scummvm/scummvm/commit/97a138ae2e51e357d93e2eb689ad797338fae4fb
Author: D G Turner (digitall at scummvm.org)
Date: 2022-05-23T13:47:54+01:00
Commit Message:
CHEWY: Fix Signed vs. Unsigned Comparison GCC Compiler Warning
Changed paths:
engines/chewy/resource.cpp
diff --git a/engines/chewy/resource.cpp b/engines/chewy/resource.cpp
index 71d42e9b160..337d6daef81 100644
--- a/engines/chewy/resource.cpp
+++ b/engines/chewy/resource.cpp
@@ -440,7 +440,7 @@ void DialogResource::saveStream(Common::WriteStream* s) {
}
void BarrierResource::init(int16 room, int16 bgWidth, int16 bgHeight) {
- assert(room < _chunkList.size());
+ assert(room < (int16)_chunkList.size());
Chunk *chunk = &_chunkList[room];
_stream.seek(chunk->pos, SEEK_SET);
More information about the Scummvm-git-logs
mailing list