From 02bb68f97eb0c5f4567eefbd0a969af1b28a4ce2 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Thu, 17 Aug 2006 10:33:02 -0500 Subject: [svn-r12585] Description: Correct parameter flipped in memset call (Thanks Peter!) Tested on: Very minor, just eyeballed. --- src/H5R.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12