summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2002-05-02 18:05:11 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2002-05-02 18:05:11 (GMT)
commit7971d2873ba1fa3251e6f1a911101e6831e09390 (patch)
tree19adc01d4cabdde6bb0cb655dd6d06d44ffd49a3
parentbcc1b57287f69a220d644fbf1bd02694adb798bc (diff)
downloadhdf5-7971d2873ba1fa3251e6f1a911101e6831e09390.zip
hdf5-7971d2873ba1fa3251e6f1a911101e6831e09390.tar.gz
hdf5-7971d2873ba1fa3251e6f1a911101e6831e09390.tar.bz2
[svn-r5325]
Purpose: minor bugs fixed Description: Typos in H5Fpkg.h and H5TB.c Solution: Platforms tested: linux 2.2.18
-rw-r--r--src/H5Fpkg.h2
-rw-r--r--src/H5TB.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Fpkg.h b/src/H5Fpkg.h
index 458ac1e..72cd321 100644
--- a/src/H5Fpkg.h
+++ b/src/H5Fpkg.h
@@ -65,7 +65,7 @@
# define H5F_OVERFLOW_HSIZET2OFFT(X) \
((hsize_t)(X)>=(hsize_t)((hsize_t)1<<(8*sizeof(off_t)-1)))
#else
-# define H5F_OVERFLOW_SIZET2OFFT(X) 0
+# define H5F_OVERFLOW_HSIZET2OFFT(X) 0
#endif
/* The raw data chunk cache */
diff --git a/src/H5TB.c b/src/H5TB.c
index 73892c5..e4a1488 100644
--- a/src/H5TB.c
+++ b/src/H5TB.c
@@ -1164,7 +1164,7 @@ H5TB_ffind(H5TB_NODE * root, void * key, unsigned fast_compare, H5TB_NODE ** pp)
if (ptr) {
while (0 != (cmp_addr = (*(haddr_t *)key - *(haddr_t *)ptr->key))) {
parent = ptr;
- side = (cmp < 0) ? LEFT : RIGHT;
+ side = (cmp_addr < 0) ? LEFT : RIGHT;
if (!HasChild(ptr, side))
break;
ptr = ptr->link[side];