From 47c44b4488b3cfffd8c18548f7d0b5661ebbc7f9 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 25 Jan 2017 21:32:08 +0100 Subject: CRYO: Fix compilation --- engines/cryo/cryolib.cpp | 4 ++-- engines/cryo/eden.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/cryo') 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; } -- cgit v1.2.3