mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Beta version 1.9.20: Fix build on GCC.
This commit is contained in:
@@ -3675,9 +3675,7 @@ void _readStickerSets(FileKey &stickersKey, Stickers::Order *outOrder = nullptr,
|
||||
if (outOrder) {
|
||||
auto outOrderCount = quint32();
|
||||
stickers.stream >> outOrderCount;
|
||||
if (!_checkStreamStatus(stickers.stream)
|
||||
|| outOrderCount < 0
|
||||
|| outOrderCount > 1000) {
|
||||
if (!_checkStreamStatus(stickers.stream) || outOrderCount > 1000) {
|
||||
return failed();
|
||||
}
|
||||
outOrder->reserve(outOrderCount);
|
||||
|
Reference in New Issue
Block a user