Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
don't cast the long int to avoid the warning but adapt the declaration of the variable
[simgrid.git] / src / gras / DataDesc / ddt_exchange.c
index 0ec2722..9ecb300 100644 (file)
@@ -305,7 +305,7 @@ gras_datadesc_memcpy_rec(gras_cbps_t           state,
 
   case e_gras_datadesc_type_cat_array: {
     gras_dd_cat_array_t    array_data;
-    long int               array_count;
+    unsigned long int     array_count;
     char                  *src_ptr=src;
     char                  *dst_ptr=dst;
     long int               elm_size;