Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix full flag mode with Mac.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 22 Nov 2010 14:19:52 +0000 (14:19 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 22 Nov 2010 14:19:52 +0000 (14:19 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8595 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/java/jmsg.c
src/surf/surf_private.h
src/surf/surf_routing.c

index 341473e..43dc519 100644 (file)
@@ -251,7 +251,7 @@ Java_simgrid_msg_MsgNative_processFromPID(JNIEnv * env, jclass cls,
   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));
     return NULL;
   }
 
     return NULL;
   }
 
index 49c29de..2483f30 100644 (file)
@@ -176,7 +176,7 @@ struct s_routing_global {
   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
index 12b7ff2..60654f9 100644 (file)
@@ -731,7 +731,7 @@ static route_extended_t _get_route(const char *src, const char *dst)
  * 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;