@@ -30,20 +30,20 @@ void FunctionMap :: ProcessFunctions(string expression){
3030 int index = int (expression.find ((it->first )+" (" ));
3131
3232 if (index != string::npos){
33- int close_index = expression.find (" )" , index);
34- int start = index + (( it->first )+" (" ).length ();
33+ int close_index = int ( expression.find (" )" , index) );
34+ int start = index + int ((( it->first )+" (" ).length () );
3535
3636 string function_params = expression.substr (start, close_index-start);
3737 FetchIdentifier (this ->scope , it->first );
3838 vector<string> params = Split (function_params, " ," );
3939
4040 for (int i=0 ;i<params.size ();i++){
41- int quote_index = params[i].find (" \" " );
41+ int quote_index = int ( params[i].find (" \" " ) );
4242 if (quote_index == string::npos)
4343 Get (this ->scope , Trim (params[i]));
4444 else {
4545 params[i] = params[i].replace (quote_index, 1 , " '" );
46- int second_quote_index = params[i].find (" \" " , quote_index+1 );
46+ int second_quote_index = int ( params[i].find (" \" " , quote_index+1 ) );
4747 params[i] = params[i].replace (second_quote_index, 1 , " '" );
4848 Get (this ->scope , Trim (params[i]));
4949 }
0 commit comments