From 59c32e72fb03e69518db0b6f06b4a87f3a811be9 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Mon, 22 Jun 2009 11:53:46 +0000 Subject: const correctness svn-id: r41765 --- engines/gob/script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/gob') diff --git a/engines/gob/script.cpp b/engines/gob/script.cpp index d4a48b460d..2f6c2b2098 100644 --- a/engines/gob/script.cpp +++ b/engines/gob/script.cpp @@ -304,7 +304,7 @@ bool Script::load(const char *fileName) { Common::String *fileBase; - char *dot; + const char *dot; if ((dot = strrchr(fileName, '.'))) { fileBase = new Common::String(fileName, dot); -- cgit v1.2.3