diff options
author | Colin Snover | 2016-09-21 16:28:54 -0500 |
---|---|---|
committer | Colin Snover | 2016-09-29 19:39:16 -0500 |
commit | 4d73736d1f9409304beea57ddd39b5546a60bc2c (patch) | |
tree | 638ebda78d3692d3bcbfafcd9a8b11f8a92c8c9d | |
parent | 1847b0f7059328e195d9fca2372ab2b8a12aad06 (diff) | |
download | scummvm-rg350-4d73736d1f9409304beea57ddd39b5546a60bc2c.tar.gz scummvm-rg350-4d73736d1f9409304beea57ddd39b5546a60bc2c.tar.bz2 scummvm-rg350-4d73736d1f9409304beea57ddd39b5546a60bc2c.zip |
SCI32: Fix compilation warnings
-rw-r--r-- | engines/sci/console.cpp | 4 | ||||
-rw-r--r-- | engines/sci/engine/kstring.cpp | 2 |
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; |