aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2017-01-25 21:32:08 +0100
committerEugene Sandulenko2017-01-25 22:42:27 +0100
commit47c44b4488b3cfffd8c18548f7d0b5661ebbc7f9 (patch)
treef951369fee78c92c17f5f475ff721a96610c3480
parent37b6b0d16ff940af51d99abd9e8caa7acaa7677d (diff)
downloadscummvm-rg350-47c44b4488b3cfffd8c18548f7d0b5661ebbc7f9.tar.gz
scummvm-rg350-47c44b4488b3cfffd8c18548f7d0b5661ebbc7f9.tar.bz2
scummvm-rg350-47c44b4488b3cfffd8c18548f7d0b5661ebbc7f9.zip
CRYO: Fix compilation
-rw-r--r--engines/cryo/cryolib.cpp4
-rw-r--r--engines/cryo/eden.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/cryo/cryolib.cpp b/engines/cryo/cryolib.cpp
index 5b6befd697..49c3bae50c 100644
--- a/engines/cryo/cryolib.cpp
+++ b/engines/cryo/cryolib.cpp
@@ -443,11 +443,11 @@ void CRYOLib_ManagersDone() {
PakHeaderNode::PakHeaderNode(int count) {
_count = count;
_files = new PakHeaderItem[count];
-};
+}
PakHeaderNode::~PakHeaderNode() {
_count = 0;
delete[] _files;
-};
+}
} // End of namespace Cryo
diff --git a/engines/cryo/eden.cpp b/engines/cryo/eden.cpp
index ea00b5e2e2..c19469de99 100644
--- a/engines/cryo/eden.cpp
+++ b/engines/cryo/eden.cpp
@@ -6717,7 +6717,7 @@ int EdenGame::loadmusicfile(int16 num) {
_bigfile.seek(offs, SEEK_SET);
uint32 numread = size;
if (numread > kMaxMusicSize)
- error("Music file %s is too big", file->_name);
+ error("Music file %s is too big", file->_name.c_str());
_bigfile.read(_musicBuf, numread);
return size;
}