summaryrefslogtreecommitdiffstats
path: root/src/H5Pdcpl.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-06-16 17:02:35 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-06-16 17:02:35 (GMT)
commit4f231ddc9bd1e0b71b4ed7fd0d82e9ca362f942e (patch)
tree8721d0bd5f680da3dbb7d15ba33155a3f094ed20 /src/H5Pdcpl.c
parent4117cfe2b9e19a79e00c5176f354f906235f1b80 (diff)
downloadhdf5-4f231ddc9bd1e0b71b4ed7fd0d82e9ca362f942e.zip
hdf5-4f231ddc9bd1e0b71b4ed7fd0d82e9ca362f942e.tar.gz
hdf5-4f231ddc9bd1e0b71b4ed7fd0d82e9ca362f942e.tar.bz2
[svn-r27214] Fixed a bug on Windows where dcpls were set to be chunked and not virtual. This was due to a simple copy-paste issue in the initializer that is used when C99 initializers are not available.
Also fixed a dims array size error in the vds test. Tested on: 64-bit Win7 with VS2013
Diffstat (limited to 'src/H5Pdcpl.c')
-rw-r--r--src/H5Pdcpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Pdcpl.c b/src/H5Pdcpl.c
index 5f3e9ef..d17a281 100644
--- a/src/H5Pdcpl.c
+++ b/src/H5Pdcpl.c
@@ -198,7 +198,7 @@ static const H5O_layout_t H5D_def_layout_virtual_g = H5D_DEF_LAYOUT_VIRTUAL;
static H5O_layout_t H5D_def_layout_compact_g = H5D_DEF_LAYOUT_COMPACT;
static H5O_layout_t H5D_def_layout_contig_g = H5D_DEF_LAYOUT_CONTIG;
static H5O_layout_t H5D_def_layout_chunk_g = H5D_DEF_LAYOUT_CHUNK;
-static H5O_layout_t H5D_def_layout_virtual_g = H5D_DEF_LAYOUT_CHUNK;
+static H5O_layout_t H5D_def_layout_virtual_g = H5D_DEF_LAYOUT_VIRTUAL;
static hbool_t H5P_dcrt_def_layout_init_g = FALSE;
#endif /* H5_HAVE_C99_DESIGNATED_INITIALIZER */