diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2009-07-30 21:35:20 (GMT) |
---|---|---|
committer | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2009-07-30 21:35:20 (GMT) |
commit | 240289221e781f73f7f1f782c179551f377a0ae5 (patch) | |
tree | 2f83bb7e0fd6b690a4e8f9720bc75d738da4d069 | |
parent | 616d59fe9e28aa85afadd1aabc10777a716f6fe6 (diff) | |
download | hdf5-240289221e781f73f7f1f782c179551f377a0ae5.zip hdf5-240289221e781f73f7f1f782c179551f377a0ae5.tar.gz hdf5-240289221e781f73f7f1f782c179551f377a0ae5.tar.bz2 |
[svn-r17279] Description:
Changed the type for num_elem to match that in H5LRcreate_region_references
Tested: smirom (icc)
-rw-r--r-- | hl/examples/ex_regref_create.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/examples/ex_regref_create.c b/hl/examples/ex_regref_create.c index 279522e..937d546 100644 --- a/hl/examples/ex_regref_create.c +++ b/hl/examples/ex_regref_create.c @@ -41,7 +41,7 @@ int main(void) int data[DIM0][DIM1]; /* data */ int i, j; int rdata[6][2]; /* buffer to read the data into */ - hsize_t num_elem; /* number of region references to create */ + size_t num_elem; /* number of region references to create */ const char *path[2]; /* paths to the data for the region references */ hsize_t block_coord[8] ={ 2, 5, 4, 6, 0, 0, 2, 1}; /* hyperslab coordinates defining region references */ hdset_reg_ref_t ref[2]; /* region references */ @@ -103,7 +103,7 @@ int main(void) /* * We are creating the data set in the same file so fill the file_id path with the same file id. */ - for (i=0; i< (hsize_t)num_elem; i++) + for (i=0; i< num_elem; i++) file_id_array[i] = file_id; /* |