summaryrefslogtreecommitdiffstats
path: root/fortran/examples/rwdsetexample.f90
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2004-04-15 21:59:05 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2004-04-15 21:59:05 (GMT)
commit508b06e28609af97be50591b49066381957e9c4e (patch)
treecf889684fc36977ce9df2b9e3310b9372c26c085 /fortran/examples/rwdsetexample.f90
parentda3f980be5516deea598cb1a11f79ef1c20c9257 (diff)
downloadhdf5-508b06e28609af97be50591b49066381957e9c4e.zip
hdf5-508b06e28609af97be50591b49066381957e9c4e.tar.gz
hdf5-508b06e28609af97be50591b49066381957e9c4e.tar.bz2
[svn-r8357]
Purpose: Maintenance Description: Fortran functions h5dwrite/read_f and h5awrite/read_f were overloaded with the dims parameter being of type INTEGER. It was a design flaw. dims should be of type INTEGER(HSIZE_T). Overloading was done to assure backward compatibility of 1.4.* branch with hdf5 1.2.* branch. We promised to remove the old function with INTEGER dims in 1.6.0. It was removed from the documentation but was not removed from the source code. Solution: Finally cleaned up the code. Platforms tested: Windows 2000 with DEC Fortran, LInux with Intel Fortran, Solaris 2.7 32/64-bit mode. Misc. update:
Diffstat (limited to 'fortran/examples/rwdsetexample.f90')
-rw-r--r--fortran/examples/rwdsetexample.f902
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/examples/rwdsetexample.f90 b/fortran/examples/rwdsetexample.f90
index 8ef00bd..e2c4d4b 100644
--- a/fortran/examples/rwdsetexample.f90
+++ b/fortran/examples/rwdsetexample.f90
@@ -36,7 +36,7 @@
INTEGER :: i, j
INTEGER, DIMENSION(4,6) :: dset_data, data_out ! Data buffers
- INTEGER, DIMENSION(7) :: data_dims
+ INTEGER(HSIZE_T), DIMENSION(2) :: data_dims
!
! Initialize the dset_data array.