Commit 143287d5 authored by Harald Sitter's avatar Harald Sitter 🌈
Browse files

smb: remove cast again, specify type instead

easier on the eyes. thanks to Pino for the suggestion!
parent 95a5ed31
......@@ -14,7 +14,7 @@ TransferSegment::TransferSegment(const off_t fileSize)
off_t TransferSegment::segmentSizeForFileSize(const off_t fileSize_)
{
const off_t fileSize = qMax(static_cast<off_t>(0), fileSize_);
const off_t fileSize = qMax<off_t>(0, fileSize_);
// read() internally splits our read requests into multiple server
// requests and then assembles the responses into our buffer.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment