[svn-r12585] Description:

Correct parameter flipped in memset call (Thanks Peter!)

Tested on:
    Very minor, just eyeballed.
This commit is contained in:
Quincey Koziol 2006-08-17 10:33:02 -05:00
parent e5bc52d890
commit 02bb68f97e

View File

@ -196,7 +196,7 @@ H5R_create(void *_ref, H5G_loc_t *loc, const char *name, H5R_type_t ref_type, H5
} /* end if */ } /* end if */
/* Zero the heap ID out, may leak heap space if user is re-using reference and doesn't have garbage collection on */ /* 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 */ /* Get the amount of space required to serialize the selection */
if((buf_size = H5S_SELECT_SERIAL_SIZE(space)) < 0) if((buf_size = H5S_SELECT_SERIAL_SIZE(space)) < 0)