summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2016-01-07 17:45:11 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2016-01-07 17:45:11 (GMT)
commited380746fe131bf1aeb3d8135c5ff31705312cb0 (patch)
treea770ec8826af58b52b73edee0ad81faf287ea15a
parentdc63336a4a863f1222f698d882e0862b72aa93fc (diff)
downloadhdf5-ed380746fe131bf1aeb3d8135c5ff31705312cb0.zip
hdf5-ed380746fe131bf1aeb3d8135c5ff31705312cb0.tar.gz
hdf5-ed380746fe131bf1aeb3d8135c5ff31705312cb0.tar.bz2
[svn-r28837] Merged r28836 from revise_chunks (tarray.c fix).
Tested on ostrich w/ gcc
-rw-r--r--test/tarray.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/tarray.c b/test/tarray.c
index 28798c2..cb5fef9 100644
--- a/test/tarray.c
+++ b/test/tarray.c
@@ -1031,8 +1031,8 @@ test_array_vlen_atomic(void)
H5T_class_t mclass; /* Datatype class for VL */
hid_t xfer_pid; /* Dataset transfer property list ID */
hsize_t size; /* Number of bytes which will be used */
- int mem_used=0; /* Memory used during allocation */
- int i,j,k; /* counting variables */
+ size_t mem_used=0; /* Memory used during allocation */
+ int i,j,k; /* counting variables */
herr_t ret; /* Generic return value */
/* Output message about test being performed */
@@ -1242,8 +1242,8 @@ test_array_vlen_array(void)
H5T_class_t mclass; /* Datatype class for VL */
hid_t xfer_pid; /* Dataset transfer property list ID */
hsize_t size; /* Number of bytes which will be used */
- int mem_used=0; /* Memory used during allocation */
- int i,j,k,l; /* Index variables */
+ size_t mem_used=0; /* Memory used during allocation */
+ int i,j,k,l; /* Index variables */
herr_t ret; /* Generic return value */
/* Output message about test being performed */