From 2a1f1d17620dc6fff28292e37791e40d77eba401 Mon Sep 17 00:00:00 2001 From: cherierm Date: Fri, 16 Nov 2007 12:10:41 +0000 Subject: [PATCH 1/1] don't cast the long int to avoid the warning but adapt the declaration of the variable git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5056 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/gras/DataDesc/ddt_exchange.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gras/DataDesc/ddt_exchange.c b/src/gras/DataDesc/ddt_exchange.c index d020c77301..9ecb3008f7 100644 --- a/src/gras/DataDesc/ddt_exchange.c +++ b/src/gras/DataDesc/ddt_exchange.c @@ -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; @@ -342,7 +342,7 @@ gras_datadesc_memcpy_rec(gras_cbps_t state, } else { VERB1("Array of %ld stuff, copy it in one after the other",array_count); - for (cpt=0; cpt<(unsigned int)array_count; cpt++) { + for (cpt=0; cptcycle); -- 2.20.1