diff options
author | Chris Robinson <[email protected]> | 2017-02-10 06:20:16 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-02-10 06:20:16 -0800 |
commit | e92229f8395979591a14a980543d92aa4e7489c0 (patch) | |
tree | 6f0e6a9e203662e9cbd64e6ced8fa29f6f31dcee /Alc/bs2b.c | |
parent | 5bd63ff03d324f772875611325ee10c8a8df1c3c (diff) |
Fix more uses of unsigned sizes and offsets
Diffstat (limited to 'Alc/bs2b.c')
-rw-r--r-- | Alc/bs2b.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -129,16 +129,16 @@ void bs2b_clear(struct bs2b *bs2b) memset(&bs2b->last_sample, 0, sizeof(bs2b->last_sample)); } /* bs2b_clear */ -void bs2b_cross_feed(struct bs2b *bs2b, float *restrict Left, float *restrict Right, unsigned int SamplesToDo) +void bs2b_cross_feed(struct bs2b *bs2b, float *restrict Left, float *restrict Right, int SamplesToDo) { float lsamples[128][2]; float rsamples[128][2]; - unsigned int base; + int base; for(base = 0;base < SamplesToDo;) { - unsigned int todo = minu(128, SamplesToDo-base); - unsigned int i; + int todo = mini(128, SamplesToDo-base); + int i; /* Process left input */ lsamples[0][0] = bs2b->a0_lo*Left[0] + |