[Bf-blender-cvs] [c221717] master: NDOF/X11: incorrect dynamic_cast

Campbell Barton noreply at git.blender.org
Fri Feb 14 08:43:26 CET 2014


Commit: c221717f707e13f52413a398a8010f545bc3d109
Author: Campbell Barton
Date:   Fri Feb 14 16:12:41 2014 +1100
https://developer.blender.org/rBc221717f707e13f52413a398a8010f545bc3d109

NDOF/X11: incorrect dynamic_cast

===================================================================

M	intern/ghost/intern/GHOST_SystemX11.cpp

===================================================================

diff --git a/intern/ghost/intern/GHOST_SystemX11.cpp b/intern/ghost/intern/GHOST_SystemX11.cpp
index 1d625a5..9900f7e 100644
--- a/intern/ghost/intern/GHOST_SystemX11.cpp
+++ b/intern/ghost/intern/GHOST_SystemX11.cpp
@@ -583,7 +583,7 @@ processEvents(
 		}
 
 #ifdef WITH_INPUT_NDOF
-		if (dynamic_cast<GHOST_NDOFManagerX11 *>(m_ndofManager)->processEvents()) {
+		if (static_cast<GHOST_NDOFManagerX11 *>(m_ndofManager)->processEvents()) {
 			anyProcessed = true;
 		}
 #endif




More information about the Bf-blender-cvs mailing list