mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-19 16:50:46 +08:00
Fix conflicting types for reset_raw_data_files() parameter in external_common.c changed from int to hbool_t.
Change 0 and 1 to FALSE and TRUE in calls to reset_raw_data_files().
This commit is contained in:
parent
95910889d7
commit
0c374d65c6
@ -636,7 +636,7 @@ test_read_file_set(hid_t fapl)
|
||||
TEST_ERROR
|
||||
|
||||
/* Reset the raw data files */
|
||||
if(reset_raw_data_files(0) < 0)
|
||||
if(reset_raw_data_files(FALSE) < 0)
|
||||
TEST_ERROR
|
||||
|
||||
/* Create the file and an initial group. This causes messages about
|
||||
@ -776,7 +776,7 @@ test_write_file_set(hid_t fapl)
|
||||
} /* end for */
|
||||
|
||||
/* Reset the raw data files */
|
||||
if(reset_raw_data_files(0) < 0)
|
||||
if(reset_raw_data_files(FALSE) < 0)
|
||||
TEST_ERROR
|
||||
|
||||
/* Create the dataset */
|
||||
@ -877,7 +877,7 @@ test_path_absolute(hid_t fapl)
|
||||
FAIL_STACK_ERROR
|
||||
|
||||
/* Reset the raw data files */
|
||||
if(reset_raw_data_files(0) < 0)
|
||||
if(reset_raw_data_files(FALSE) < 0)
|
||||
TEST_ERROR
|
||||
|
||||
/* Create the dcpl */
|
||||
@ -973,7 +973,7 @@ test_path_relative(hid_t fapl)
|
||||
FAIL_STACK_ERROR;
|
||||
|
||||
/* Reset the raw data files */
|
||||
if(reset_raw_data_files(0) < 0)
|
||||
if(reset_raw_data_files(FALSE) < 0)
|
||||
TEST_ERROR
|
||||
|
||||
/* Create the dataset */
|
||||
@ -1068,7 +1068,7 @@ test_path_relative_cwd(hid_t fapl)
|
||||
FAIL_STACK_ERROR;
|
||||
|
||||
/* Reset the raw data files */
|
||||
if(reset_raw_data_files(0) < 0)
|
||||
if(reset_raw_data_files(FALSE) < 0)
|
||||
TEST_ERROR
|
||||
|
||||
/* Create the dataset */
|
||||
@ -1210,7 +1210,7 @@ test_h5d_get_access_plist(hid_t fapl_id)
|
||||
TEST_ERROR
|
||||
|
||||
/* Reset the raw data files */
|
||||
if(reset_raw_data_files(0) < 0)
|
||||
if(reset_raw_data_files(FALSE) < 0)
|
||||
TEST_ERROR
|
||||
|
||||
/* Create the file */
|
||||
|
@ -35,7 +35,7 @@
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
herr_t
|
||||
reset_raw_data_files(int is_env)
|
||||
reset_raw_data_files(hbool_t is_env)
|
||||
{
|
||||
int fd = 0; /* external file descriptor */
|
||||
size_t i, j; /* iterators */
|
||||
|
@ -70,7 +70,7 @@ test_path_env(hid_t fapl)
|
||||
FAIL_STACK_ERROR
|
||||
|
||||
/* Reset the raw data files */
|
||||
if(reset_raw_data_files(1) < 0)
|
||||
if(reset_raw_data_files(TRUE) < 0)
|
||||
TEST_ERROR
|
||||
|
||||
/* Create the dataset */
|
||||
|
Loading…
x
Reference in New Issue
Block a user