Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use SIZEOF_MAX now that configure tests it
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 2 Jun 2005 11:50:21 +0000 (11:50 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 2 Jun 2005 11:50:21 +0000 (11:50 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1320 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/dynar.c

index 7090ea8..5fbad96 100644 (file)
@@ -466,7 +466,7 @@ xbt_dynar_map(const xbt_dynar_t  dynar,
   __sanity_check_dynar(dynar);
 
   {
   __sanity_check_dynar(dynar);
 
   {
-    char         elm[64];
+    char         elm[SIZEOF_MAX];
     const unsigned long used = dynar->used;
     unsigned long       i    = 0;
 
     const unsigned long used = dynar->used;
     unsigned long       i    = 0;