From f16ed30071ec256ed08121e68d124d162df6c86a Mon Sep 17 00:00:00 2001 From: hybrid Date: Mon, 29 Sep 2008 11:13:29 +0000 Subject: [PATCH] Wrong cast type. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1592 dfc29bdd-3216-0410-991c-e03cc46cb475 --- source/Irrlicht/CIrrDeviceLinux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Irrlicht/CIrrDeviceLinux.cpp b/source/Irrlicht/CIrrDeviceLinux.cpp index 7aee3366..c37b7b48 100644 --- a/source/Irrlicht/CIrrDeviceLinux.cpp +++ b/source/Irrlicht/CIrrDeviceLinux.cpp @@ -974,7 +974,7 @@ bool CIrrDeviceLinux::present(video::IImage* image, void* windowId, core::rect(windowId); + myWindow = reinterpret_cast(windowId); XPutImage(display, myWindow, gc, SoftwareImage, 0, 0, 0, 0, destwidth, destheight); #endif return true;