diff --git a/Telegram/SourceFiles/ui/image/image_location.cpp b/Telegram/SourceFiles/ui/image/image_location.cpp index 335f647409..1e36c140de 100644 --- a/Telegram/SourceFiles/ui/image/image_location.cpp +++ b/Telegram/SourceFiles/ui/image/image_location.cpp @@ -258,7 +258,7 @@ QByteArray StorageFileLocation::serialize() const { stream.setVersion(QDataStream::Qt_5_1); stream << quint16(_dcId) - << (kSerializeTypeShift | quint8(_type)) + << quint8(kSerializeTypeShift | quint8(_type)) << quint8(_sizeLetter) << qint32(_localId) << quint64(_id)