mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fix build on macOS.
This commit is contained in:
@@ -102,8 +102,8 @@ bool RepliesList::buildFromData(not_null<Viewer*> viewer) {
|
||||
const auto i = around
|
||||
? ranges::lower_bound(_list, around, std::greater<>())
|
||||
: end(_list);
|
||||
const auto availableBefore = (end(_list) - i);
|
||||
const auto availableAfter = (i - begin(_list));
|
||||
const auto availableBefore = int(end(_list) - i);
|
||||
const auto availableAfter = int(i - begin(_list));
|
||||
const auto useBefore = std::min(availableBefore, viewer->limitBefore + 1);
|
||||
const auto useAfter = std::min(availableAfter, viewer->limitAfter);
|
||||
const auto slice = &viewer->slice;
|
||||
|
Reference in New Issue
Block a user