Index: /issm/trunk/src/c/modules/CostFunctionx/CostFunctionx.cpp
===================================================================
--- /issm/trunk/src/c/modules/CostFunctionx/CostFunctionx.cpp	(revision 5475)
+++ /issm/trunk/src/c/modules/CostFunctionx/CostFunctionx.cpp	(revision 5476)
@@ -25,5 +25,5 @@
 	
 	/*Get response*/
-	Responsex(&J,elements,nodes,vertices,loads,materials,parameters,(const char*)EnumToString(response),false); //False means DO NOT process units
+	Responsex(&J,elements,nodes,vertices,loads,materials,parameters,EnumToString(response),false); //False means DO NOT process units
 
 	/*Add Regularization terms: */
