[mpich-commits] r10623 - mpich2/trunk/src/mpi/misc

gropp at mcs.anl.gov gropp at mcs.anl.gov
Mon Nov 19 14:02:50 CST 2012


Author: gropp
Date: 2012-11-19 14:02:49 -0600 (Mon, 19 Nov 2012)
New Revision: 10623

Modified:
   mpich2/trunk/src/mpi/misc/library_version.c
Log:
Explicit cast to MPI return type

Modified: mpich2/trunk/src/mpi/misc/library_version.c
===================================================================
--- mpich2/trunk/src/mpi/misc/library_version.c	2012-11-19 17:56:07 UTC (rev 10622)
+++ mpich2/trunk/src/mpi/misc/library_version.c	2012-11-19 20:02:49 UTC (rev 10623)
@@ -79,7 +79,7 @@
                  MPIR_Version_configure, MPIR_Version_CC, MPIR_Version_CXX,
                  MPIR_Version_F77, MPIR_Version_FC);
 
-    *resultlen = strlen(version);
+    *resultlen = (int)strlen(version);
 
     /* ... end of body of routine ... */
 



More information about the commits mailing list