aboutsummaryrefslogtreecommitdiff
path: root/scumm/resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/resource.cpp')
-rw-r--r--scumm/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index 3fb09eaba7..ca0c100cfa 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -1354,7 +1354,7 @@ byte *Scumm::findResourceData(uint32 tag, byte *ptr) {
return ptr + _resourceHeaderSize;
}
-int Scumm::getResourceDataSize(byte *ptr) {
+int Scumm::getResourceDataSize(const byte *ptr) const {
if (ptr == NULL)
return 0;