diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-08-17 15:33:02 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-08-17 15:33:02 (GMT) |
commit | 02bb68f97eb0c5f4567eefbd0a969af1b28a4ce2 (patch) | |
tree | 996f5e8e4edc8b155524822f63f0d32cae667adf | |
parent | e5bc52d890cae6da92bc23938dca173ef7c911c5 (diff) | |
download | hdf5-02bb68f97eb0c5f4567eefbd0a969af1b28a4ce2.zip hdf5-02bb68f97eb0c5f4567eefbd0a969af1b28a4ce2.tar.gz hdf5-02bb68f97eb0c5f4567eefbd0a969af1b28a4ce2.tar.bz2 |
[svn-r12585] Description:
Correct parameter flipped in memset call (Thanks Peter!)
Tested on:
Very minor, just eyeballed.
-rw-r--r-- | src/H5R.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -196,7 +196,7 @@ H5R_create(void *_ref, H5G_loc_t *loc, const char *name, H5R_type_t ref_type, H5 } /* end if */ /* Zero the heap ID out, may leak heap space if user is re-using reference and doesn't have garbage collection on */ - HDmemset(ref, H5R_DSET_REG_REF_BUF_SIZE, 0); + HDmemset(ref, 0, H5R_DSET_REG_REF_BUF_SIZE); /* Get the amount of space required to serialize the selection */ if((buf_size = H5S_SELECT_SERIAL_SIZE(space)) < 0) |