Index: Source/Base/Functors/OSGTypedFunctors1.h
===================================================================
RCS file: /cvsroot/opensg/OpenSG/Source/Base/Functors/OSGTypedFunctors1.h,v
retrieving revision 1.6
diff -u -r1.6 OSGTypedFunctors1.h
--- Source/Base/Functors/OSGTypedFunctors1.h	5 Jun 2008 04:59:07 -0000	1.6
+++ Source/Base/Functors/OSGTypedFunctors1.h	15 Jun 2008 14:29:12 -0000
@@ -81,7 +81,7 @@
 
     static void callObjectMethodVoid(UInt8 *pData2, ArgType arg1)
     {
-        ObjMethodF  pFunc = *(static_cast<ObjMethodF *>(pData2));
+        ObjMethodF  pFunc = *(reinterpret_cast<ObjMethodF *>(pData2));
         ObjType    *pObj  = CallArgT::getPtr(arg1); 
 
         (pObj->*pFunc)();
@@ -89,7 +89,7 @@
 
     static RetT callObjectMethod(UInt8 *pData2, ArgType arg1)
     {
-        ObjMethodF  pFunc = *(static_cast<ObjMethodF *>(pData2));
+        ObjMethodF  pFunc = *(reinterpret_cast<ObjMethodF *>(pData2));
         ObjType    *pObj  = CallArgT::getPtr(arg1); 
 
         return (pObj->*pFunc)();
@@ -130,9 +130,9 @@
                                      UInt8   *pData2, 
                                      ArgType  arg1  )
     {
-        StoredObjectT pObj  = *(static_cast<StoredObjectT *>(pData1));
+        StoredObjectT pObj  = *(reinterpret_cast<StoredObjectT *>(pData1));
 
-        ObjMethodF    pFunc = *(static_cast<ObjMethodF    *>(pData2));
+        ObjMethodF    pFunc = *(reinterpret_cast<ObjMethodF    *>(pData2));
         
         (pObj->*pFunc)(arg1);
     }
Index: Source/Base/Functors/OSGTypedFunctors1.inl
===================================================================
RCS file: /cvsroot/opensg/OpenSG/Source/Base/Functors/OSGTypedFunctors1.inl,v
retrieving revision 1.5
diff -u -r1.5 OSGTypedFunctors1.inl
--- Source/Base/Functors/OSGTypedFunctors1.inl	5 Jun 2008 04:59:07 -0000	1.5
+++ Source/Base/Functors/OSGTypedFunctors1.inl	15 Jun 2008 14:29:12 -0000
@@ -129,7 +129,7 @@
 {
     if (this != &source)
     {
-        *(static_cast<Inherited *>(this)) = source;
+        *(reinterpret_cast<Inherited *>(this)) = source;
     }
 }
 
@@ -183,7 +183,7 @@
 {
     if (this != &source)
     {
-        *(static_cast<Inherited *>(this)) = source;
+        *(reinterpret_cast<Inherited *>(this)) = source;
     }
 }
 
@@ -303,7 +303,7 @@
 
     if(Self::_flags & Self::FuncPtrValid)
     {
-        FuncF pFunc = *(static_cast<FuncF *>(Self::_data2));
+        FuncF pFunc = *(reinterpret_cast<FuncF *>(Self::_data2));
         
         pFunc(pObj);
     }
Index: Source/Base/Functors/OSGTypedFunctors2.h
===================================================================
RCS file: /cvsroot/opensg/OpenSG/Source/Base/Functors/OSGTypedFunctors2.h,v
retrieving revision 1.6
diff -u -r1.6 OSGTypedFunctors2.h
--- Source/Base/Functors/OSGTypedFunctors2.h	5 Jun 2008 04:59:07 -0000	1.6
+++ Source/Base/Functors/OSGTypedFunctors2.h	15 Jun 2008 14:29:13 -0000
@@ -88,7 +88,7 @@
                                      ArgType  arg1, 
                                      Arg1T    arg2)
     {
-        ObjMethodF  pFunc = *(static_cast<ObjMethodF *>(pData2));
+        ObjMethodF  pFunc = *(reinterpret_cast<ObjMethodF *>(pData2));
         ObjType    *pObj  = CallArgT::getPtr(arg1); 
 
         (pObj->*pFunc)(arg2);
Index: Source/Base/Functors/OSGTypedFunctors2.inl
===================================================================
RCS file: /cvsroot/opensg/OpenSG/Source/Base/Functors/OSGTypedFunctors2.inl,v
retrieving revision 1.5
diff -u -r1.5 OSGTypedFunctors2.inl
--- Source/Base/Functors/OSGTypedFunctors2.inl	5 Jun 2008 04:59:07 -0000	1.5
+++ Source/Base/Functors/OSGTypedFunctors2.inl	15 Jun 2008 14:29:13 -0000
@@ -140,7 +140,7 @@
 {
     if(this != &source)
     {
-        *(static_cast<Inherited *>(this)) = source;
+        *(reinterpret_cast<Inherited *>(this)) = source;
     }
 }
 
@@ -199,7 +199,7 @@
 {
     if(this != &source)
     {
-        *(static_cast<Inherited *>(this)) = source;
+        *(reinterpret_cast<Inherited *>(this)) = source;
     }
 }
 
@@ -337,7 +337,7 @@
 
     if(Self::_flags & Self::FuncPtrValid)
     {
-        FuncF pFunc = *(static_cast<FuncF *>(Self::_data2));
+        FuncF pFunc = *(reinterpret_cast<FuncF *>(Self::_data2));
         
         pFunc(obj, oArg1);
     }
