summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-09-28 19:45:28 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-09-28 19:45:28 (GMT)
commit2dab610c435786e3f690f8abf0ccf71cafeb5149 (patch)
treede43cae72ca8fd4ee55d4fa6b266de98aa10178a /src
parent85597e5cc7822712fb60baf30f3109d3a14f3c51 (diff)
downloadhdf5-2dab610c435786e3f690f8abf0ccf71cafeb5149.zip
hdf5-2dab610c435786e3f690f8abf0ccf71cafeb5149.tar.gz
hdf5-2dab610c435786e3f690f8abf0ccf71cafeb5149.tar.bz2
[svn-r9332] Purpose:
Bug fix Description: Correct assertion to check pointer value correctly. Platforms tested: AIX 5.1 (copper) too minor to require h5committest
Diffstat (limited to 'src')
-rw-r--r--src/H5FO.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FO.c b/src/H5FO.c
index 4f6fcce..97eefcd 100644
--- a/src/H5FO.c
+++ b/src/H5FO.c
@@ -124,7 +124,7 @@ H5FO_opened(const H5F_t *f, haddr_t addr)
open_obj=H5TB_NODE_DATA(obj_node);
assert(open_obj);
ret_value=open_obj->obj;
- assert(ret_value>0);
+ assert(ret_value!=NULL);
} /* end if */
else
ret_value=NULL;