Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This avoid a warning on the Microsoft compiler
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 16 Nov 2007 09:27:51 +0000 (09:27 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 16 Nov 2007 09:27:51 +0000 (09:27 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5055 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/gras/DataDesc/ddt_exchange.c

index 0ec2722..d020c77 100644 (file)
@@ -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<array_count; cpt++) {
+      for (cpt=0; cpt<(unsigned int)array_count; cpt++) {
        VERB2("Copy the %dth stuff out of %ld",cpt,array_count);
        count += gras_datadesc_memcpy_rec(state,refs, sub_type, src_ptr, dst_ptr, 0,
                                        detect_cycle || sub_type->cycle);