summaryrefslogtreecommitdiffstats
path: root/src/H5F.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-02-04 15:14:29 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-02-04 15:14:29 (GMT)
commita47ba809eae58fce3902d1f8eec854cf42ff1013 (patch)
tree37574ffd1f4c4bb86b5b9fede4a47d4401acd933 /src/H5F.c
parent3d5f479f878d0d2b85fb03f30971a58c2541ab54 (diff)
downloadhdf5-a47ba809eae58fce3902d1f8eec854cf42ff1013.zip
hdf5-a47ba809eae58fce3902d1f8eec854cf42ff1013.tar.gz
hdf5-a47ba809eae58fce3902d1f8eec854cf42ff1013.tar.bz2
[svn-r218] ./src/H5F.c
The default file addr and size sizes for new files are the same as sizeof(size_t) on the machine that creates the file. They used to always be 4. ./src/H5Pprivate.h ./src/H5Psimp.c Fixed `start' and `nelmts' arguments to be `size_t'.
Diffstat (limited to 'src/H5F.c')
-rw-r--r--src/H5F.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/H5F.c b/src/H5F.c
index bcd8bb2..1efc496 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -64,8 +64,7 @@ static char RcsId[] = "@(#)$Revision$";
/*
* Define the default file creation template.
*/
-const H5F_create_t H5F_create_dflt =
-{
+const H5F_create_t H5F_create_dflt = {
0, /* Default user-block size */
4, /* Default 1/2 rank for symtab leaf nodes */
{ /* Default 1/2 rank for btree intern nodes */
@@ -78,8 +77,8 @@ const H5F_create_t H5F_create_dflt =
0, /* unused */
0, /* unused */
},
- 4, /* Default offset size */
- 4, /* Default length size */
+ sizeof(size_t), /* Default offset size */
+ sizeof(size_t), /* Default length size */
HDF5_BOOTBLOCK_VERSION, /* Current Boot-Block version # */
HDF5_SMALLOBJECT_VERSION, /* Current Small-Object heap version # */
HDF5_FREESPACE_VERSION, /* Current Free-Space info version # */