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:
Larry Knox 2019-08-01 10:18:45 -05:00
parent 95910889d7
commit 0c374d65c6
3 changed files with 8 additions and 8 deletions

View File

@ -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 */

View 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 */

View File

@ -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 */