BHttpRequest: Fix the cast and therefor GCC2 build

Change-Id: Ia0729a20d143721d395d5d50719e87b99b76bb05
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3614
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
This commit is contained in:
Stephan Aßmus 2021-01-09 17:44:34 +01:00
parent f15516ff92
commit 8c812f2d63

View File

@ -1212,5 +1212,5 @@ BHttpRequest::_NotifyDataReceived(const char* data, off_t pos, ssize_t size,
}
fListener->DataReceived(this, data, pos, size);
fListener->DownloadProgress(this, bytesReceived,
std::max((off_t)0, bytesTotal));
std::max((ssize_t)0, bytesTotal));
}