summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5diff_attr.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2003-12-03 15:35:32 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2003-12-03 15:35:32 (GMT)
commit2d011283a352d0a972c66155b2981a2e66c87e39 (patch)
tree1c94b2f56a1c2805bbe63abb51904dfb38692332 /tools/lib/h5diff_attr.c
parenta70274eceafe9dc364329eb395f50e81db7c7bd1 (diff)
downloadhdf5-2d011283a352d0a972c66155b2981a2e66c87e39.zip
hdf5-2d011283a352d0a972c66155b2981a2e66c87e39.tar.gz
hdf5-2d011283a352d0a972c66155b2981a2e66c87e39.tar.bz2
[svn-r7908] Purpose:
code clean, bug fix Description: cleaned warnings on IRIX fixed bug in parse command line Solution: Platforms tested: linux IRIX 6.5 64 Misc. update:
Diffstat (limited to 'tools/lib/h5diff_attr.c')
-rw-r--r--tools/lib/h5diff_attr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/h5diff_attr.c b/tools/lib/h5diff_attr.c
index c2e36ef..c1dc945 100644
--- a/tools/lib/h5diff_attr.c
+++ b/tools/lib/h5diff_attr.c
@@ -156,9 +156,9 @@ int diff_attr(hid_t loc1_id,
goto error;
if ((mtype2_id=H5Tget_native_type(ftype2_id,H5T_DIR_DEFAULT))<0)
goto error;
- if ((msize1=H5Tget_size(mtype1_id))<0)
+ if ((msize1=H5Tget_size(mtype1_id))==0)
goto error;
- if ((msize2=H5Tget_size(mtype2_id))<0)
+ if ((msize2=H5Tget_size(mtype2_id))==0)
goto error;
assert(msize1==msize2);