From 4861a52c3f9619d568c477c3b15112434f78680f Mon Sep 17 00:00:00 2001 From: Tobias Markus Date: Sat, 1 Nov 2014 22:21:42 +0100 Subject: [PATCH] Fix compilation on OSX 10.10 Closes #1646 --- lib/irrlicht/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/irrlicht/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm b/lib/irrlicht/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm index 50ef28a9b..b418baecb 100644 --- a/lib/irrlicht/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm +++ b/lib/irrlicht/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm @@ -719,7 +719,7 @@ bool CIrrDeviceMacOSX::createWindow() if (!CreationParams.WindowId) { [Window center]; - [Window setDelegate:[NSApp delegate]]; + [(NSFileManager *)Window setDelegate:[NSApp delegate]]; if(CreationParams.DriverType == video::EDT_OPENGL) [OGLContext setView:[Window contentView]];