[mpich-commits] r10760 - mpich2/trunk/test/mpi/info

gropp at mcs.anl.gov gropp at mcs.anl.gov
Tue Dec 11 11:01:38 CST 2012


Author: gropp
Date: 2012-12-11 11:01:38 -0600 (Tue, 11 Dec 2012)
New Revision: 10760

Modified:
   mpich2/trunk/test/mpi/info/infomany.c
Log:
removed explicit constant for actual size of object

Modified: mpich2/trunk/test/mpi/info/infomany.c
===================================================================
--- mpich2/trunk/test/mpi/info/infomany.c	2012-12-11 16:09:42 UTC (rev 10759)
+++ mpich2/trunk/test/mpi/info/infomany.c	2012-12-11 17:01:38 UTC (rev 10760)
@@ -77,7 +77,7 @@
 		}
 		continue;
 	    }
-	    MPI_Info_get( infos[i], key, 64, value, &flag );
+	    MPI_Info_get( infos[i], key, sizeof(value), value, &flag );
 	    if (!flag) {
 		errs++;
 		if (errs < MAX_ERRORS) {



More information about the commits mailing list