diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2002-05-02 18:05:11 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2002-05-02 18:05:11 (GMT) |
commit | 7971d2873ba1fa3251e6f1a911101e6831e09390 (patch) | |
tree | 19adc01d4cabdde6bb0cb655dd6d06d44ffd49a3 /src | |
parent | bcc1b57287f69a220d644fbf1bd02694adb798bc (diff) | |
download | hdf5-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
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Fpkg.h | 2 | ||||
-rw-r--r-- | src/H5TB.c | 2 |
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 */ @@ -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]; |