summaryrefslogtreecommitdiff
path: root/protocols/Telegram/tdlib/td
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-06-17 16:56:59 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-06-17 16:56:59 +0300
commiteb0357c9a571541c984aef03efaacd6b39ac7409 (patch)
tree4fbec2c4c0949c4299ebaffd8ee45ca004a02c70 /protocols/Telegram/tdlib/td
parentd1fc0d1083be5ef3a64afe53c44f5d5120d63d94 (diff)
data alignment fix
Diffstat (limited to 'protocols/Telegram/tdlib/td')
-rw-r--r--protocols/Telegram/tdlib/td/tdutils/td/utils/port/FileFd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Telegram/tdlib/td/tdutils/td/utils/port/FileFd.cpp b/protocols/Telegram/tdlib/td/tdutils/td/utils/port/FileFd.cpp
index a7ebf057e8..e1d78cdc25 100644
--- a/protocols/Telegram/tdlib/td/tdutils/td/utils/port/FileFd.cpp
+++ b/protocols/Telegram/tdlib/td/tdutils/td/utils/port/FileFd.cpp
@@ -596,7 +596,7 @@ Result<Stat> FileFd::stat() const {
Stat res;
FILE_BASIC_INFO basic_info;
- auto status = GetFileInformationByHandleEx(get_native_fd().fd(), FileBasicInfo, &basic_info, sizeof(basic_info));
+ auto status = GetFileInformationByHandleEx(get_native_fd().fd(), FileBasicInfo, &basic_info, 0x24);
if (!status) {
return OS_ERROR("Get FileBasicInfo failed");
}