[svn-r5325]

Purpose:
   minor bugs fixed
Description:
    Typos in H5Fpkg.h and H5TB.c
Solution:
Platforms tested:
linux 2.2.18
This commit is contained in:
MuQun Yang 2002-05-02 13:05:11 -05:00
parent bcc1b57287
commit 7971d2873b
2 changed files with 2 additions and 2 deletions

View File

@ -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 */

View File

@ -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];