From 331e8bf9ae2bb7d2bf0b42baf01448c8d8d5fffd Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Thu, 10 Mar 2005 22:43:10 -0500 Subject: [svn-r10188] Purpose: Bug fix Description: Correct the native record size. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti) --- src/H5BTbtree2.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/H5BTbtree2.c b/src/H5BTbtree2.c index 4c37004..5539b03 100644 --- a/src/H5BTbtree2.c +++ b/src/H5BTbtree2.c @@ -38,14 +38,14 @@ static herr_t H5BT_debug(FILE *stream, const H5F_t *f, hid_t dxpl_id, /* Package variables */ const H5B2_class_t H5B2_BLKTRK[1]={{ /* B-tree class information */ - H5B2_BLK_TRK_ID, /* Type of B-tree */ - sizeof(hsize_t), /* Size of native key */ - H5BT_store, /* Record storage callback */ - H5BT_retrieve, /* Record retrieval callback */ - H5BT_compare, /* Record comparison callback */ - H5BT_encode, /* Record encoding callback */ - H5BT_decode, /* Record decoding callback */ - H5BT_debug /* Record debugging callback */ + H5B2_BLK_TRK_ID, /* Type of B-tree */ + sizeof(H5BT_blk_info_t), /* Size of native key */ + H5BT_store, /* Record storage callback */ + H5BT_retrieve, /* Record retrieval callback */ + H5BT_compare, /* Record comparison callback */ + H5BT_encode, /* Record encoding callback */ + H5BT_decode, /* Record decoding callback */ + H5BT_debug /* Record debugging callback */ }}; @@ -70,7 +70,7 @@ H5BT_store(void *nrecord, const void *udata) { FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5BT_store) - *(H5BT_blk_info_t *)nrecord=*(const H5BT_blk_info_t *)udata; + *(H5BT_blk_info_t *)nrecord = *(const H5BT_blk_info_t *)udata; FUNC_LEAVE_NOAPI(SUCCEED); } /* H5BT_store() */ @@ -97,7 +97,7 @@ H5BT_retrieve(void *udata, const void *nrecord) { FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5BT_retrieve) - *(H5BT_blk_info_t *)udata=*(const H5BT_blk_info_t *)nrecord; + *(H5BT_blk_info_t *)udata = *(const H5BT_blk_info_t *)nrecord; FUNC_LEAVE_NOAPI(SUCCEED); } /* H5BT_retrieve() */ -- cgit v0.12