diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/util/ForeignFifoBuffer.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/ForeignFifoBuffer.hxx b/src/util/ForeignFifoBuffer.hxx index d6912d3c2..65f6bce94 100644 --- a/src/util/ForeignFifoBuffer.hxx +++ b/src/util/ForeignFifoBuffer.hxx @@ -235,7 +235,7 @@ public: w = Write(); } - size_t n = std::min(r.size, w.size); + const auto n = std::min(r.size, w.size); std::move(r.data, r.data + n, w.data); Append(n); |