diff options
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]; |