summaryrefslogtreecommitdiffstats
path: root/src/H5R.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-08-17 15:33:02 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-08-17 15:33:02 (GMT)
commit02bb68f97eb0c5f4567eefbd0a969af1b28a4ce2 (patch)
tree996f5e8e4edc8b155524822f63f0d32cae667adf /src/H5R.c
parente5bc52d890cae6da92bc23938dca173ef7c911c5 (diff)
downloadhdf5-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.
Diffstat (limited to 'src/H5R.c')
-rw-r--r--src/H5R.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5R.c b/src/H5R.c
index 3a2f35d..0a3af40 100644
--- a/src/H5R.c
+++ b/src/H5R.c
@@ -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)