Mercurial > audlegacy-plugins
comparison src/sid/xs_stil.c @ 2466:59e8f118ad34
Removed xs_memset(), just use memset().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 29 Mar 2008 11:14:39 +0200 |
parents | f503db6acf72 |
children | 89d4e09a8988 |
comparison
equal
deleted
inserted
replaced
2465:2df887365f92 | 2466:59e8f118ad34 |
---|---|
53 clearLength = nsubTunes + 1; | 53 clearLength = nsubTunes + 1; |
54 } else { | 54 } else { |
55 clearIndex = pNode->nsubTunes + 1; | 55 clearIndex = pNode->nsubTunes + 1; |
56 clearLength = (nsubTunes - clearIndex + 1); | 56 clearLength = (nsubTunes - clearIndex + 1); |
57 } | 57 } |
58 xs_memset(&(pNode->subTunes[clearIndex]), 0, clearLength * sizeof(t_xs_stil_subnode **)); | 58 memset(&(pNode->subTunes[clearIndex]), 0, clearLength * sizeof(t_xs_stil_subnode **)); |
59 | 59 |
60 pNode->nsubTunes = nsubTunes; | 60 pNode->nsubTunes = nsubTunes; |
61 } | 61 } |
62 | 62 |
63 /* Allocate memory for subTune */ | 63 /* Allocate memory for subTune */ |