diff --git a/src/pcm/Dsd2Pcm.cxx b/src/pcm/Dsd2Pcm.cxx index 0085139eb..fb327b299 100644 --- a/src/pcm/Dsd2Pcm.cxx +++ b/src/pcm/Dsd2Pcm.cxx @@ -151,8 +151,7 @@ static constexpr auto ctables = GenerateArray(GenerateCtable); void Dsd2Pcm::Reset() noexcept { - int i; - for (i=0; i 0) { - bite1 = *src & 0xFFu; + unsigned bite1 = *src & 0xFFu; if (lsbf) bite1 = bit_reverse(bite1); fifo[ffp] = bite1; src += src_stride; - p = fifo + ((ffp-CTABLES) & FIFOMASK); + unsigned char *p = fifo + ((ffp-CTABLES) & FIFOMASK); *p = bit_reverse(*p); - acc = 0; - for (i=0; i