comparison src/xs_stil.c @ 395:b571000e1f8c

Use xs_memset() instead of memset()
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 31 May 2006 10:51:00 +0000
parents b09d74eb71e6
children f997b79a7251
comparison
equal deleted inserted replaced
394:7c4216c7aa47 395:b571000e1f8c
43 43
44 if (!pNode->subTunes) 44 if (!pNode->subTunes)
45 return FALSE; 45 return FALSE;
46 46
47 /* Clear the newly allocated memory */ 47 /* Clear the newly allocated memory */
48 memset(&(pNode->subTunes[pNode->nsubTunes]), 0, 48 xs_memset(&(pNode->subTunes[pNode->nsubTunes]), 0,
49 (nsubTunes + 1 - pNode->nsubTunes) * 49 (nsubTunes + 1 - pNode->nsubTunes) *
50 sizeof(t_xs_stil_subnode **)); 50 sizeof(t_xs_stil_subnode **));
51 } 51 }
52 52
53 /* Allocate memory for subTune */ 53 /* Allocate memory for subTune */