summaryrefslogtreecommitdiffstats
path: root/test/ohdr.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2015-06-26 14:51:47 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2015-06-26 14:51:47 (GMT)
commit4a951a53063efa51d3dba672dccd8a59be78ac8f (patch)
treed66d2833fdd3e4a1b83e9521b957e99945c82659 /test/ohdr.c
parent79fe6d27f022b0124782d6e0c6eb345f2e669095 (diff)
parentdf8bd7ccd6cd8d50280a3a7d862064c6340e2169 (diff)
downloadhdf5-4a951a53063efa51d3dba672dccd8a59be78ac8f.zip
hdf5-4a951a53063efa51d3dba672dccd8a59be78ac8f.tar.gz
hdf5-4a951a53063efa51d3dba672dccd8a59be78ac8f.tar.bz2
[svn-r27286] merge from trunk.
Diffstat (limited to 'test/ohdr.c')
-rw-r--r--test/ohdr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ohdr.c b/test/ohdr.c
index 67548e0..bfed19f 100644
--- a/test/ohdr.c
+++ b/test/ohdr.c
@@ -210,7 +210,7 @@ test_ohdr_cache(char *filename, hid_t fapl)
FAIL_STACK_ERROR
/* Protect local heap (which actually pins it in the cache) */
- if(NULL == (lheap = H5HL_protect(f, my_dxpl, lheap_addr, H5AC_READ)))
+ if(NULL == (lheap = H5HL_protect(f, my_dxpl, lheap_addr, H5AC__READ_ONLY_FLAG)))
FAIL_STACK_ERROR
/* Create an object header */
@@ -230,7 +230,7 @@ test_ohdr_cache(char *filename, hid_t fapl)
FAIL_STACK_ERROR
/* Protect local heap (which actually pins it in the cache) */
- if(NULL == (lheap2 = H5HL_protect(f, my_dxpl, lheap_addr2, H5AC_READ)))
+ if(NULL == (lheap2 = H5HL_protect(f, my_dxpl, lheap_addr2, H5AC__READ_ONLY_FLAG)))
FAIL_STACK_ERROR
/* Unprotect local heap (which actually unpins it from the cache) */
@@ -247,7 +247,7 @@ test_ohdr_cache(char *filename, hid_t fapl)
FAIL_STACK_ERROR
/* Protect local heap (which actually pins it in the cache) */
- if(NULL == (lheap3 = H5HL_protect(f, my_dxpl, lheap_addr3, H5AC_READ)))
+ if(NULL == (lheap3 = H5HL_protect(f, my_dxpl, lheap_addr3, H5AC__READ_ONLY_FLAG)))
FAIL_STACK_ERROR
/* Unprotect local heap (which actually unpins it from the cache) */