X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/94974c282c6e6d096238716853bb053330170d76..843d6086c88fc773f9fce55a3984588ea7a64394:/src/simix/smx_deployment.c diff --git a/src/simix/smx_deployment.c b/src/simix/smx_deployment.c index 6d41663a72..511e69585a 100644 --- a/src/simix/smx_deployment.c +++ b/src/simix/smx_deployment.c @@ -75,7 +75,7 @@ static void parse_process_finalize(void) parse_argv, current_property_set); else - SIMIX_req_process_create(&process, parse_argv[0], parse_code, NULL, parse_host, parse_argc, parse_argv, + simcall_process_create(&process, parse_argv[0], parse_code, NULL, parse_host, parse_argc, parse_argv, current_property_set); /* verify if process has been created (won't be the case if the host is currently dead, but that's fine) */ if (!process) { @@ -177,7 +177,7 @@ xbt_main_func_t SIMIX_get_registered_function(const char *name) xbt_assert(simix_global, "SIMIX_global_init has to be called before SIMIX_get_registered_function."); - res = xbt_dict_get_or_null(simix_global->registered_functions, name); + res = (xbt_main_func_t)xbt_dict_get_or_null(simix_global->registered_functions, name); return res ? res : default_function; }