summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2009-07-30 21:35:44 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2009-07-30 21:35:44 (GMT)
commitcb2b63cd9a25795fc8c9dadb55e93313001318a2 (patch)
treef3ba118071230b191370e147b6fdbcd13a54eba3 /hl
parent240289221e781f73f7f1f782c179551f377a0ae5 (diff)
downloadhdf5-cb2b63cd9a25795fc8c9dadb55e93313001318a2.zip
hdf5-cb2b63cd9a25795fc8c9dadb55e93313001318a2.tar.gz
hdf5-cb2b63cd9a25795fc8c9dadb55e93313001318a2.tar.bz2
[svn-r17280] Description:
Changed the type for num_elem to match that in H5LRcreate_region_references Tested: smirom (icc)
Diffstat (limited to 'hl')
-rw-r--r--hl/test/test_regref_hyper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/test/test_regref_hyper.c b/hl/test/test_regref_hyper.c
index 94ba5c7..9075757 100644
--- a/hl/test/test_regref_hyper.c
+++ b/hl/test/test_regref_hyper.c
@@ -219,7 +219,7 @@ static int test_regref_hyper( void )
int data_out2[3][2];
hsize_t block_coord_3D[6] ={ 0, 1, 2, 1, 2, 3};
hsize_t block_coord[4] ={ 3, 3, 5, 4};
- hsize_t num_elem;
+ size_t num_elem;
char *path[2];
hsize_t block_coord_6[8] ={ 3, 6, 5, 7, 0, 0, 2, 1};
hsize_t block_coord_4[4] ={ 1, 3, 3, 4};
@@ -748,7 +748,7 @@ static int test_regref_hyper( void )
/* check the regions and check they were made correctly */
kk = 0;
- for (iii=0; iii< (hsize_t)num_elem; iii++) {
+ for (iii=0; iii< num_elem; iii++) {
status = H5LRread_region(file_id,
(const hdset_reg_ref_t*)ref6[iii],
H5T_NATIVE_INT,