summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2014-11-18 17:57:48 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2014-11-18 17:57:48 (GMT)
commit4ddc3c769e595ded8b70cc843a79e5ab37ba60e7 (patch)
tree4d686637dd3e18b4be0e9b5ea45c993569f3b878 /examples
parent5cf77a2a7bfd44127db4c3b5d2b760666b2887a1 (diff)
downloadhdf5-4ddc3c769e595ded8b70cc843a79e5ab37ba60e7.zip
hdf5-4ddc3c769e595ded8b70cc843a79e5ab37ba60e7.tar.gz
hdf5-4ddc3c769e595ded8b70cc843a79e5ab37ba60e7.tar.bz2
[svn-r25823] Bring revisions #25484 - 25508 from trunk to revise_chunks.
h5committested.
Diffstat (limited to 'examples')
-rw-r--r--examples/h5_reference.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/h5_reference.c b/examples/h5_reference.c
index 758002f..38e6146 100644
--- a/examples/h5_reference.c
+++ b/examples/h5_reference.c
@@ -81,8 +81,8 @@ main(void) {
* Create references to the group "A" and dataset "B"
* and store them in the wbuf.
*/
- H5Rcreate(&wbuf[0], fid, "A", H5R_OBJECT, -1);
- H5Rcreate(&wbuf[1], fid, "B", H5R_OBJECT, -1);
+ H5Rcreate(&wbuf[0], fid, "A", H5R_OBJECT, (hid_t)-1);
+ H5Rcreate(&wbuf[1], fid, "B", H5R_OBJECT, (hid_t)-1);
/*
* Write dataset R using default transfer properties.