From f3afb32ee6039f69f3b3616989cc26fd4a0dca95 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sat, 6 Aug 2011 13:06:41 +0200 Subject: SCI: Remove unnecessary cast. --- engines/sci/detection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/sci/detection.cpp b/engines/sci/detection.cpp index 2285e512bd..b04c1a69f3 100644 --- a/engines/sci/detection.cpp +++ b/engines/sci/detection.cpp @@ -588,7 +588,7 @@ const ADGameDescription *SciMetaEngine::fallbackDetect(const FileMap &allFiles, s_fallbackDesc.extra = "CD"; } - return (const ADGameDescription *)&s_fallbackDesc; + return &s_fallbackDesc; } bool SciMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const { -- cgit v1.2.3