summaryrefslogtreecommitdiff
path: root/src/pcm
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm')
-rw-r--r--src/pcm/PcmDsd.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pcm/PcmDsd.cxx b/src/pcm/PcmDsd.cxx
index 7348c5f61..5dabdf7f6 100644
--- a/src/pcm/PcmDsd.cxx
+++ b/src/pcm/PcmDsd.cxx
@@ -38,8 +38,8 @@ PcmDsd::ToFloat(unsigned channels, ConstBuffer<uint8_t> src) noexcept
assert(src.size % channels == 0);
assert(channels <= dsd2pcm.max_size());
- const unsigned num_samples = src.size;
- const unsigned num_frames = src.size / channels;
+ const size_t num_samples = src.size;
+ const size_t num_frames = src.size / channels;
float *dest = buffer.GetT<float>(num_samples);