git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8595
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
m_process_t process = MSG_process_from_PID(PID);
if (!process) {
m_process_t process = MSG_process_from_PID(PID);
if (!process) {
- jxbt_throw_process_not_found(env, bprintf("PID = %d", PID));
+ jxbt_throw_process_not_found(env, bprintf("PID = %d",(int) PID));
xbt_dict_t where_network_elements; /* char* -> network_element_info_t */
void *loopback;
size_t size_of_link;
xbt_dict_t where_network_elements; /* char* -> network_element_info_t */
void *loopback;
size_t size_of_link;
- const xbt_dynar_t(*get_route) (const char *src, const char *dst);
+ xbt_dynar_t(*get_route) (const char *src, const char *dst);
xbt_dynar_t(*get_route_no_cleanup) (const char *src, const char *dst);
xbt_dynar_t(*get_onelink_routes) (void);
e_surf_network_element_type_t(*get_network_element_type) (const char
xbt_dynar_t(*get_route_no_cleanup) (const char *src, const char *dst);
xbt_dynar_t(*get_onelink_routes) (void);
e_surf_network_element_type_t(*get_network_element_type) (const char
* by calling the differents "get_route" functions in each routing component.
* No need to free the returned dynar. It will be freed at the next call.
*/
* by calling the differents "get_route" functions in each routing component.
* No need to free the returned dynar. It will be freed at the next call.
*/
-static const xbt_dynar_t get_route(const char *src, const char *dst)
+static xbt_dynar_t get_route(const char *src, const char *dst)
{
route_extended_t e_route;
{
route_extended_t e_route;