mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 08:24:16 +09:00
[client,common] Avoid use of reserved types
__off_t is a internal type of glibc and does not exist on other libc's.
This commit is contained in:
@@ -775,7 +775,7 @@ static void write_file_attributes(CliprdrFuseFile* fuse_file, struct stat* attr)
|
||||
{
|
||||
attr->st_mode = S_IFREG | (fuse_file->is_readonly ? 0444 : 0644);
|
||||
attr->st_nlink = 1;
|
||||
attr->st_size = WINPR_ASSERTING_INT_CAST(__off_t, fuse_file->size);
|
||||
attr->st_size = WINPR_ASSERTING_INT_CAST(off_t, fuse_file->size);
|
||||
}
|
||||
attr->st_uid = getuid();
|
||||
attr->st_gid = getgid();
|
||||
|
||||
Reference in New Issue
Block a user