diff options
author | Richard.Warren <Richard.Warren@mayll.ad.hdfgroup.org> | 2017-10-17 20:34:36 (GMT) |
---|---|---|
committer | Richard.Warren <Richard.Warren@mayll.ad.hdfgroup.org> | 2017-10-17 20:34:36 (GMT) |
commit | 9aada2bdb51f1c235e483f2bce109262bfbe22fa (patch) | |
tree | ffeed75f3f350b90c5ccc277a6e1aa890fdcb895 /testpar | |
parent | c230ffa26873f256092d68de854de5c7f09bf1ee (diff) | |
download | hdf5-9aada2bdb51f1c235e483f2bce109262bfbe22fa.zip hdf5-9aada2bdb51f1c235e483f2bce109262bfbe22fa.tar.gz hdf5-9aada2bdb51f1c235e483f2bce109262bfbe22fa.tar.bz2 |
in 'production' mode builds
Diffstat (limited to 'testpar')
-rw-r--r-- | testpar/t_pread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testpar/t_pread.c b/testpar/t_pread.c index b2eec97..b5a84f2 100644 --- a/testpar/t_pread.c +++ b/testpar/t_pread.c @@ -162,11 +162,11 @@ generate_test_file( MPI_Comm comm, int mpi_rank, int group_id ) * is used to call into the h5_fixname function. No * need to worry that we reassign it for each file! */ - group_filename = FILENAMES[file_index]; + group_filename = FILENAMES[file_index]; HDassert( group_filename ); /* Assign the 'data_filename' */ - if ( h5_fixname((const char *)group_filename, H5P_DEFAULT, data_filename, + if ( h5_fixname(group_filename, H5P_DEFAULT, data_filename, sizeof(data_filename)) == NULL ) { pass = FALSE; failure_mssg = "h5_fixname(0) failed.\n"; |