summaryrefslogtreecommitdiffstats
path: root/src/H5R.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-09-28 19:54:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-09-28 19:54:12 (GMT)
commitd0abb4a760c9a63b2a03747246bf8c3ffa75cde9 (patch)
treef790d41240767b8f911d9a7651d1131014d95d96 /src/H5R.c
parent2dab610c435786e3f690f8abf0ccf71cafeb5149 (diff)
downloadhdf5-d0abb4a760c9a63b2a03747246bf8c3ffa75cde9.zip
hdf5-d0abb4a760c9a63b2a03747246bf8c3ffa75cde9.tar.gz
hdf5-d0abb4a760c9a63b2a03747246bf8c3ffa75cde9.tar.bz2
[svn-r9333] Purpose:
Bug fix Description: Fix another couple of int <-> pointer checks. Platforms tested: AIX 5.1 (copper) Too minor to require h5committest
Diffstat (limited to 'src/H5R.c')
-rw-r--r--src/H5R.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5R.c b/src/H5R.c
index ba699e8..a34afa7 100644
--- a/src/H5R.c
+++ b/src/H5R.c
@@ -417,7 +417,7 @@ H5R_dereference(H5F_t *file, hid_t dxpl_id, H5R_type_t ref_type, void *_ref)
case H5G_DATASET:
/* Open the dataset */
- if ((dset=H5D_open(&ent,dxpl_id)) <0)
+ if ((dset=H5D_open(&ent,dxpl_id))==NULL)
HGOTO_ERROR(H5E_DATASET, H5E_NOTFOUND, FAIL, "not found");
/* Create an atom for the dataset */