diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-07-07 18:10:55 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-07-07 18:10:55 (GMT) |
commit | 27fa4c698f3d07e5e9e7655943526bbdf2b4a2ec (patch) | |
tree | 8af838ff82acc25474a7d5bf8e507f61b6f7a3b0 /src/H5Shyper.c | |
parent | 4327ebda2e4f07de2fd918abff116c3393ccf599 (diff) | |
download | hdf5-27fa4c698f3d07e5e9e7655943526bbdf2b4a2ec.zip hdf5-27fa4c698f3d07e5e9e7655943526bbdf2b4a2ec.tar.gz hdf5-27fa4c698f3d07e5e9e7655943526bbdf2b4a2ec.tar.bz2 |
[svn-r457] Fixed another couple of typos in dynamically allocated variables.
Diffstat (limited to 'src/H5Shyper.c')
-rw-r--r-- | src/H5Shyper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c index 14a4bb6..b38c341 100644 --- a/src/H5Shyper.c +++ b/src/H5Shyper.c @@ -197,7 +197,7 @@ printf("%s: check 2.0, bound_count=%d\n",FUNC,bound_count); /* Check if we've allocated the array yet */ if(num_reg==0) { /* Allocate array */ - ret_value=H5MM_malloc(sizeof(H5S_hyper_node_t)); + ret_value=H5MM_malloc(sizeof(H5S_hyper_region_t)); /* Initialize with first region */ ret_value[0].start=lo_bounds[next_dim][i].bound; @@ -211,7 +211,7 @@ printf("%s: check 2.0, bound_count=%d\n",FUNC,bound_count); ret_value[curr_reg].end=MAX(hi_bounds[next_dim][i].bound,ret_value[curr_reg].end); else { /* no overlap with previous region, add new region */ /* Enlarge array */ - ret_value=H5MM_realloc(ret_value,sizeof(H5S_hyper_node_t)*(num_reg+1)); + ret_value=H5MM_realloc(ret_value,sizeof(H5S_hyper_region_t)*(num_reg+1)); /* Initialize with new region */ ret_value[num_reg].start=lo_bounds[next_dim][i].bound; |