summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-08-17 15:33:17 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-08-17 15:33:17 (GMT)
commitbb35c9685c38207e0bed15feb9bb748b2c20d8bf (patch)
tree82a25645b95adfafa78911d6d12d475a1b2dd1fc /src
parent3c0f0206bab1ec5f9ef64da0181666ddf8ac18e2 (diff)
downloadhdf5-bb35c9685c38207e0bed15feb9bb748b2c20d8bf.zip
hdf5-bb35c9685c38207e0bed15feb9bb748b2c20d8bf.tar.gz
hdf5-bb35c9685c38207e0bed15feb9bb748b2c20d8bf.tar.bz2
[svn-r12586] Description:
Correct parameter flipped in memset call (Thanks Peter!) Tested on: Very minor, just eyeballed.
Diffstat (limited to 'src')
-rw-r--r--src/H5R.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5R.c b/src/H5R.c
index 8c0e5b1..c00ca74 100644
--- a/src/H5R.c
+++ b/src/H5R.c
@@ -190,7 +190,7 @@ H5R_create(void *_ref, H5G_entry_t *loc, const char *name, H5R_type_t ref_type,
} /* 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)