diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-02-05 13:52:15 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-02-05 13:52:15 (GMT) |
commit | 92160353e3c44122ab8dc9d92177e24576b7a712 (patch) | |
tree | f9c34ee186fd9ccc1d9105c775c7d7d98628ce66 | |
parent | 125f36856055f6a6c07cfdac2934e4aef54e8b8e (diff) | |
download | hdf5-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.c | 2 | ||||
-rw-r--r-- | test/tfile.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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" |