diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2016-01-07 17:45:11 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2016-01-07 17:45:11 (GMT) |
commit | ed380746fe131bf1aeb3d8135c5ff31705312cb0 (patch) | |
tree | a770ec8826af58b52b73edee0ad81faf287ea15a /test | |
parent | dc63336a4a863f1222f698d882e0862b72aa93fc (diff) | |
download | hdf5-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
Diffstat (limited to 'test')
-rw-r--r-- | test/tarray.c | 8 |
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 */ |