summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2015-06-23 13:54:01 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2015-06-23 13:54:01 (GMT)
commita07297e90dc701d64b19b05a368aba765995d772 (patch)
tree9c87a8af56306e309075a5c90c31b86006f29f22 /testpar
parent86d194642402119b955887419692b704865984c1 (diff)
downloadhdf5-a07297e90dc701d64b19b05a368aba765995d772.zip
hdf5-a07297e90dc701d64b19b05a368aba765995d772.tar.gz
hdf5-a07297e90dc701d64b19b05a368aba765995d772.tar.bz2
[svn-r27271] fix a few warnings in t_mpi.c
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_mpi.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/testpar/t_mpi.c b/testpar/t_mpi.c
index 7bd2f58..873b952 100644
--- a/testpar/t_mpi.c
+++ b/testpar/t_mpi.c
@@ -281,7 +281,7 @@ test_mpio_gb_file(char *filename)
printf("Skipped GB file range test "
"because MPI_Offset cannot support it\n");
}else{
- buf = HDmalloc(MB);
+ buf = (char *)HDmalloc(MB);
VRFY((buf!=NULL), "malloc succeed");
/* open a new file. Remove it first in case it exists. */
@@ -678,10 +678,9 @@ static int test_mpio_derived_dtype(char *filename) {
int mpi_err_strlen;
int mpi_err;
int i;
- int nerrors = 0; /* number of errors */
MPI_Datatype etype,filetype;
MPI_Datatype adv_filetype,bas_filetype[2];
- MPI_Datatype etypenew, filetypenew;
+ MPI_Datatype filetypenew;
MPI_Offset disp;
MPI_Status Status;
MPI_Aint adv_disp[2];
@@ -1100,7 +1099,7 @@ main(int argc, char **argv)
* calls. By then, MPI calls may not work.
*/
if (H5dont_atexit() < 0){
- printf("Failed to turn off atexit processing. Continue.\n", mpi_rank);
+ printf("Failed to turn off atexit processing. Continue.\n");
};
H5open();
if (parse_options(argc, argv) != 0){