summaryrefslogtreecommitdiffstats
path: root/fortran/test
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2015-03-05 20:31:34 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2015-03-05 20:31:34 (GMT)
commit50c38a5733bf39c2ba2cdb0de4d03e4aa78b1814 (patch)
treef2af5c1a019dacf1b1869762deb12f8cfaa5a7b7 /fortran/test
parentf6fbd4ab36c14f854d6a63cdbced93ce2b6f801e (diff)
downloadhdf5-50c38a5733bf39c2ba2cdb0de4d03e4aa78b1814.zip
hdf5-50c38a5733bf39c2ba2cdb0de4d03e4aa78b1814.tar.gz
hdf5-50c38a5733bf39c2ba2cdb0de4d03e4aa78b1814.tar.bz2
[svn-r26372] Bring revisions #26195:#26219 from trunk to revise_chunks.
h5committested.
Diffstat (limited to 'fortran/test')
-rw-r--r--fortran/test/CMakeLists.txt2
-rw-r--r--fortran/test/tH5T_F03.f902
2 files changed, 2 insertions, 2 deletions
diff --git a/fortran/test/CMakeLists.txt b/fortran/test/CMakeLists.txt
index d10f2ef..3b235d4 100644
--- a/fortran/test/CMakeLists.txt
+++ b/fortran/test/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required (VERSION 2.8.11)
+cmake_minimum_required (VERSION 3.1.0)
PROJECT (HDF5_FORTRAN_TESTS C CXX Fortran)
#-----------------------------------------------------------------------------
diff --git a/fortran/test/tH5T_F03.f90 b/fortran/test/tH5T_F03.f90
index f15424d..d9a671c 100644
--- a/fortran/test/tH5T_F03.f90
+++ b/fortran/test/tH5T_F03.f90
@@ -1419,7 +1419,7 @@ SUBROUTINE t_enum(total_error)
! Insert enumerated value for memtype.
!
val(1) = i
- CALL H5Tenum_insert_f(memtype, TRIM(names(i+1)), val(1), error)
+ CALL H5Tenum_insert_f(memtype, TRIM(names(i+1)), C_LOC(val(1)), error)
CALL check("H5Tenum_insert_f", error, total_error)
!
! Insert enumerated value for filetype. We must first convert