mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fix build with GCC.
This commit is contained in:
@@ -135,7 +135,7 @@ int64_t EmojiGenerator::Impl::seek(int64_t offset, int whence) {
|
||||
switch (whence) {
|
||||
case SEEK_SET: return offset;
|
||||
case SEEK_CUR: return _deviceOffset + offset;
|
||||
case SEEK_END: return _bytes.size() + offset;
|
||||
case SEEK_END: return int64_t(_bytes.size()) + offset;
|
||||
}
|
||||
return int64_t(-1);
|
||||
}();
|
||||
|
Reference in New Issue
Block a user