summaryrefslogtreecommitdiffstats
path: root/testpar/t_mpi.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-06-19 13:06:57 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-06-19 13:06:57 (GMT)
commit6d7cbd13dce1ae24446ed84a88c64c68598dc6bf (patch)
tree9debd9624be08fb8ff72f91e2416ae853939e2fc /testpar/t_mpi.c
parenta00188dde45dfd59728e1e68ddbf6cad5e1d014c (diff)
downloadhdf5-6d7cbd13dce1ae24446ed84a88c64c68598dc6bf.zip
hdf5-6d7cbd13dce1ae24446ed84a88c64c68598dc6bf.tar.gz
hdf5-6d7cbd13dce1ae24446ed84a88c64c68598dc6bf.tar.bz2
[svn-r5668] Purpose:
Code cleanup Description: Turn on more warnings in the IRIX builds and clean them up. Platforms tested: IRIX64 6.5 (modi4) w/parallel, both -n32 and the default (-64?) mode
Diffstat (limited to 'testpar/t_mpi.c')
-rw-r--r--testpar/t_mpi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/testpar/t_mpi.c b/testpar/t_mpi.c
index 4ad6388..5b6bb27 100644
--- a/testpar/t_mpi.c
+++ b/testpar/t_mpi.c
@@ -39,7 +39,6 @@ hid_t fapl; /* file access property list */
/* protocols */
static void test_mpio_overlap_writes(char *filename);
-static void test_mpio_offset(void);
static void test_mpio_gb_file(char *filename);
static void test_mpio_gb_file(char *filename);
static int parse_options(int argc, char **argv);
@@ -151,7 +150,7 @@ test_mpio_overlap_writes(char *filename)
if ((buf[i] != expected) &&
(vrfyerrs++ < MAX_ERR_REPORT || verbose))
printf("proc %d: found data error at [%ld], expect %d, got %d\n",
- mpi_rank, mpi_off+i, expected, buf[i]);
+ mpi_rank, (long)(mpi_off+i), expected, buf[i]);
}
if (vrfyerrs > MAX_ERR_REPORT && !verbose)
printf("proc %d: [more errors ...]\n", mpi_rank);
@@ -346,7 +345,7 @@ test_mpio_gb_file(char *filename)
if ((*(buf+j) != expected) &&
(vrfyerrs++ < MAX_ERR_REPORT || verbose))
printf("proc %d: found data error at [%ld+%d], expect %d, got %d\n",
- mpi_rank, mpi_off, j, expected, *(buf+j));
+ mpi_rank, (long)mpi_off, j, expected, *(buf+j));
}
if (vrfyerrs > MAX_ERR_REPORT && !verbose)
printf("proc %d: [more errors ...]\n", mpi_rank);