[cig-commits] r5151 - in long/3D/Gale/trunk/src/StgFEM: . plugins/LevelSetPlugin

walter at geodynamics.org walter at geodynamics.org
Tue Oct 31 13:31:53 PST 2006


Author: walter
Date: 2006-10-31 13:31:53 -0800 (Tue, 31 Oct 2006)
New Revision: 5151

Modified:
   long/3D/Gale/trunk/src/StgFEM/
   long/3D/Gale/trunk/src/StgFEM/plugins/LevelSetPlugin/LevelSetPlugin.c
Log:
 r856 at earth:  boo | 2006-10-31 13:30:38 -0800
  r846 at earth (orig r662):  KathleenHumble | 2006-10-25 23:08:05 -0700
  casting variables that were being passed in as
  void* into a function requiring them to be defined
  as Stg_Component_DefaultConstructorFunction*
  this was causing a lot of warnings on certain machines.
  
 



Property changes on: long/3D/Gale/trunk/src/StgFEM
___________________________________________________________________
Name: svk:merge
   - 38867592-cf10-0410-9e16-a142ea72ac34:/cig:855
db209038-57f2-0310-97fa-b160e0ae9d04:/trunk:661
   + 38867592-cf10-0410-9e16-a142ea72ac34:/cig:856
db209038-57f2-0310-97fa-b160e0ae9d04:/trunk:662

Modified: long/3D/Gale/trunk/src/StgFEM/plugins/LevelSetPlugin/LevelSetPlugin.c
===================================================================
--- long/3D/Gale/trunk/src/StgFEM/plugins/LevelSetPlugin/LevelSetPlugin.c	2006-10-31 21:31:48 UTC (rev 5150)
+++ long/3D/Gale/trunk/src/StgFEM/plugins/LevelSetPlugin/LevelSetPlugin.c	2006-10-31 21:31:53 UTC (rev 5151)
@@ -70,7 +70,7 @@
 	Stg_ComponentRegister_Add( Stg_ComponentRegister_Get_ComponentRegister(), 
 				   LevelSet_Type, 
 				   "0", 
-				   (void*)LevelSet_DefaultNew );
+				   (Stg_Component_DefaultConstructorFunction*)LevelSet_DefaultNew );
 	RegisterParent( LevelSet_Type, FieldVariable_Type );
 
 



More information about the cig-commits mailing list