diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2015-10-11 02:42:20 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2015-10-11 02:42:20 (GMT) |
commit | cd49e8a2abcd1a6fd1a4ac578cc208e2bbad1914 (patch) | |
tree | c89dcf5f16f5bc1153c5cd57e761986765239b3f | |
parent | 877dfaaad78242cc7aa7fdb1beb60a5e05800928 (diff) | |
download | hdf5-cd49e8a2abcd1a6fd1a4ac578cc208e2bbad1914.zip hdf5-cd49e8a2abcd1a6fd1a4ac578cc208e2bbad1914.tar.gz hdf5-cd49e8a2abcd1a6fd1a4ac578cc208e2bbad1914.tar.bz2 |
[svn-r28025] Description:
Switch 'int' flag variables to booleans.
Tested on:
MacOSX/64 10.10.5 (amazon) w/serial & paralel
(too minor for h5committest)
-rw-r--r-- | tools/lib/h5diff_attr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/lib/h5diff_attr.c b/tools/lib/h5diff_attr.c index 6474082..190343b 100644 --- a/tools/lib/h5diff_attr.c +++ b/tools/lib/h5diff_attr.c @@ -334,8 +334,8 @@ hsize_t diff_attr(hid_t loc1_id, size_t msize2; /* memory size of memory type */ void *buf1=NULL; /* data buffer */ void *buf2=NULL; /* data buffer */ - int buf1hasdata=0; /* buffer has data */ - int buf2hasdata=0; /* buffer has data */ + hbool_t buf1hasdata=FALSE; /* buffer has data */ + hbool_t buf2hasdata=FALSE; /* buffer has data */ hsize_t nelmts1; /* number of elements in dataset */ int rank1; /* rank of dataset */ int rank2; /* rank of dataset */ @@ -472,12 +472,12 @@ hsize_t diff_attr(hid_t loc1_id, parallel_print("Failed reading attribute1 %s/%s\n", path1, name1); goto error; }else - buf1hasdata = 1; + buf1hasdata = TRUE; if(H5Aread(attr2_id,mtype2_id,buf2) < 0){ parallel_print("Failed reading attribute2 %s/%s\n", path2, name2); goto error; }else - buf2hasdata = 1; + buf2hasdata = TRUE; /* format output string */ HDsnprintf(np1, sizeof(np1), "%s of <%s>", name1, path1); |