diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-09-05 20:11:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-05 20:11:52 (GMT) |
commit | 920869796031ed4ee9c1fbea8aaccda3592a88b3 (patch) | |
tree | 30f007ff79b87a79c882d9149cdbfcb797be92e1 /test/use_common.c | |
parent | ae1379094b71c51342772397af5caca088862a61 (diff) | |
download | hdf5-920869796031ed4ee9c1fbea8aaccda3592a88b3.zip hdf5-920869796031ed4ee9c1fbea8aaccda3592a88b3.tar.gz hdf5-920869796031ed4ee9c1fbea8aaccda3592a88b3.tar.bz2 |
Convert hbool_t --> bool in test (#3494)
Diffstat (limited to 'test/use_common.c')
-rw-r--r-- | test/use_common.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/use_common.c b/test/use_common.c index e77ec77..a58f8db 100644 --- a/test/use_common.c +++ b/test/use_common.c @@ -107,7 +107,7 @@ parse_option(int argc, char *const argv[], options_t *opts) usage(opts->progname); Hgoto_error(-1); } - opts->use_swmr = (hbool_t)use_swmr; + opts->use_swmr = (bool)use_swmr; break; case 'y': /* Number of planes per chunk */ if ((opts->chunkplanes = strtoul(optarg, NULL, 0)) <= 0) { @@ -258,7 +258,7 @@ create_uc_file(options_t *opts) * ---------------------------------------------------------------------------- */ int -write_uc_file(hbool_t tosend, hid_t file_id, options_t *opts) +write_uc_file(bool tosend, hid_t file_id, options_t *opts) { hid_t dsid; /* dataset ID */ hid_t dcpl; /* Dataset creation property list */ @@ -273,7 +273,7 @@ write_uc_file(hbool_t tosend, hid_t file_id, options_t *opts) hsize_t start[3] = {0, 0, 0}, count[3]; /* Hyperslab selection values */ hsize_t i, j, k; - if (TRUE == tosend) { + if (true == tosend) { /* Send a message that H5Fopen is complete--releasing the file lock */ h5_send_message(WRITER_MESSAGE, NULL, NULL); } @@ -447,7 +447,7 @@ write_uc_file(hbool_t tosend, hid_t file_id, options_t *opts) * ---------------------------------------------------------------------------- */ int -read_uc_file(hbool_t towait, options_t *opts) +read_uc_file(bool towait, options_t *opts) { hid_t fid; /* File ID for new HDF5 file */ hid_t dsid; /* dataset ID */ |