diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2015-10-11 04:42:22 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2015-10-11 04:42:22 (GMT) |
commit | 4b3730011f553513fa93c3269171863cf825fd8c (patch) | |
tree | 4eaaa9da092793485dc7d71d2be2b463cc4a4a26 /tools/h5dump/h5dump.c | |
parent | ec2c0bc6fe1f23815b8f56cd765aadc0b79fe5ec (diff) | |
download | hdf5-4b3730011f553513fa93c3269171863cf825fd8c.zip hdf5-4b3730011f553513fa93c3269171863cf825fd8c.tar.gz hdf5-4b3730011f553513fa93c3269171863cf825fd8c.tar.bz2 |
[svn-r28029] Description:
Merge r27626 from trunk to branch.
Tested on:
MacOSX/64 10.10.5 (amazon) w/serial
(h5committest not required on this branch)
Diffstat (limited to 'tools/h5dump/h5dump.c')
-rw-r--r-- | tools/h5dump/h5dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c index 3c60bb0..68889c9 100644 --- a/tools/h5dump/h5dump.c +++ b/tools/h5dump/h5dump.c @@ -389,10 +389,10 @@ table_list_add(hid_t oid, unsigned long file_no) /* Allocate space if necessary */ if(table_list.nused == table_list.nalloc) { - void *tmp_ptr; + h5dump_table_items_t *tmp_ptr; table_list.nalloc = MAX(1, table_list.nalloc * 2); - if(NULL == (tmp_ptr = HDrealloc(table_list.tables, table_list.nalloc * sizeof(table_list.tables[0])))) + if(NULL == (tmp_ptr = (h5dump_table_items_t *)HDrealloc(table_list.tables, table_list.nalloc * sizeof(table_list.tables[0])))) return -1; table_list.tables = tmp_ptr; } /* end if */ |