diff options
Diffstat (limited to 'src/H5Fsplit.c')
-rw-r--r-- | src/H5Fsplit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5Fsplit.c b/src/H5Fsplit.c index 8d3a8f9..d18b113 100644 --- a/src/H5Fsplit.c +++ b/src/H5Fsplit.c @@ -515,8 +515,7 @@ H5F_split_alloc (H5F_low_t *lf, intn op, hsize_t alignment, hsize_t threshold, ret_value = 1; } else if (blk->size>wasted && blk->size-wasted>=size) { /* over-satisfied */ - *addr_p = blk->addr; - H5F_addr_inc (addr_p, wasted); + *addr_p = blk->addr + wasted; ret_value = 0; } |