From 315bbd348d490d3edf6f5dcfb58ffcc9ecde83b3 Mon Sep 17 00:00:00 2001 From: eriktorbjorn Date: Mon, 27 Jun 2011 19:25:24 +0200 Subject: CGE: Fix some GCC compile errors and warnings. --- engines/cge/general.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/cge/general.h') diff --git a/engines/cge/general.h b/engines/cge/general.h index 6fb8e24f9c..4946e40c7b 100644 --- a/engines/cge/general.h +++ b/engines/cge/general.h @@ -173,6 +173,7 @@ public: virtual long Mark(void) = 0; virtual long Size(void) = 0; virtual long Seek(long pos) = 0; + virtual ~XFILE() { } }; @@ -184,7 +185,7 @@ inline uint16 XRead(XFILE *xf, T *t) { class IOHAND : public XFILE { protected: - Common::File _file; + Common::File *_file; uint16 Seed; CRYPT *Crypt; public: -- cgit v1.2.3