aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/console.cpp4
-rw-r--r--engines/sci/engine/kstring.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index 32db2e9d69..97f219b46e 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -2824,11 +2824,11 @@ bool Console::cmdViewReference(int argc, const char **argv) {
debugPrintf("SCI32 %s array (%u entries):\n", arrayType, array->size());
switch (array->getType()) {
case kArrayTypeID:
- hexDumpReg((reg_t *)array->getRawData(), array->size(), 4, 0, true);
+ hexDumpReg((const reg_t *)array->getRawData(), array->size(), 4, 0, true);
break;
case kArrayTypeByte:
case kArrayTypeString: {
- Common::hexdump((byte *)array->getRawData(), array->size(), 16, 0);
+ Common::hexdump((const byte *)array->getRawData(), array->size(), 16, 0);
break;
}
case kArrayTypeInt16: {
diff --git a/engines/sci/engine/kstring.cpp b/engines/sci/engine/kstring.cpp
index 4d96ddc64e..6ec61343b0 100644
--- a/engines/sci/engine/kstring.cpp
+++ b/engines/sci/engine/kstring.cpp
@@ -791,7 +791,7 @@ namespace {
return Common::String::format("%s", format);
}
}
-};
+}
Common::String format(const Common::String &source, int argc, const reg_t *argv) {
Common::String out;