summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-02-05 13:52:15 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-02-05 13:52:15 (GMT)
commit92160353e3c44122ab8dc9d92177e24576b7a712 (patch)
treef9c34ee186fd9ccc1d9105c775c7d7d98628ce66
parent125f36856055f6a6c07cfdac2934e4aef54e8b8e (diff)
downloadhdf5-92160353e3c44122ab8dc9d92177e24576b7a712.zip
hdf5-92160353e3c44122ab8dc9d92177e24576b7a712.tar.gz
hdf5-92160353e3c44122ab8dc9d92177e24576b7a712.tar.bz2
[svn-r220] Changes since 19980204
---------------------- ./src/H5H.c Changed a temporary buffer from 20 bytes to 52 bytes. ./test/tfile.c Default sizes for file addresses and sizes are the same as sizeof(size_t) on the machine that creates the file.
-rw-r--r--src/H5H.c2
-rw-r--r--test/tfile.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/H5H.c b/src/H5H.c
index 5911330..3d0f8a2 100644
--- a/src/H5H.c
+++ b/src/H5H.c
@@ -171,7 +171,7 @@ H5H_create(H5F_t *f, H5H_type_t heap_type, size_t size_hint,
static H5H_t *
H5H_load(H5F_t *f, const haddr_t *addr, const void *udata1, void *udata2)
{
- uint8 hdr[20];
+ uint8 hdr[52];
const uint8 *p = NULL;
H5H_t *heap = NULL;
H5H_free_t *fl = NULL, *tail = NULL;
diff --git a/test/tfile.c b/test/tfile.c
index ffbe172..9f0af22 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -32,8 +32,8 @@ static char RcsId[] = "$Revision$";
#include <H5Mprivate.h>
#define F1_USERBLOCK_SIZE 0
-#define F1_OFFSET_SIZE 4
-#define F1_LENGTH_SIZE 4
+#define F1_OFFSET_SIZE sizeof(size_t)
+#define F1_LENGTH_SIZE sizeof(size_t)
#define F1_SYM_LEAF_K 4
#define F1_SYM_INTERN_K 16
#define FILE1 "tfile1.h5"