diff options
author | Martin Kiewitz | 2015-12-29 02:35:07 +0100 |
---|---|---|
committer | Martin Kiewitz | 2015-12-29 02:35:07 +0100 |
commit | 63b66b23aa6064b1f44a2599c143aec9510fc714 (patch) | |
tree | 2ce6d3132e6a4121b599b99f589cb10787001126 | |
parent | 0dd760724e37b70bfaade2c34c12e34fab4d4b71 (diff) | |
download | scummvm-rg350-63b66b23aa6064b1f44a2599c143aec9510fc714.tar.gz scummvm-rg350-63b66b23aa6064b1f44a2599c143aec9510fc714.tar.bz2 scummvm-rg350-63b66b23aa6064b1f44a2599c143aec9510fc714.zip |
SCI32: version detection - don't remove const
don't remove const during cast
-rw-r--r-- | engines/sci/resource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index ad40ae90f0..54ef4b3363 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -2157,7 +2157,7 @@ bool ResourceManager::checkResourceDataForSignature(Resource *resource, const by if (signatureSize > resource->size) return false; - const uint32 signatureDWord = *((uint32 *)signature); + const uint32 signatureDWord = *((const uint32 *)signature); signature += 4; signatureSize -= 4; const uint32 searchLimit = resource->size - signatureSize + 1; |