struct file_struct f;
/* Figure out how big the file_struct is without trailing padding */
- file_struct_len = ((char*)&f.flags - (char*)&f) + sizeof f.flags;
+ file_struct_len = offsetof(struct file_struct, flags) + sizeof f.flags;
}
finish_filelist_progress(flist);
}
- if (flist->hlink_pool)
- {
+ if (flist->hlink_pool) {
pool_destroy(flist->hlink_pool);
flist->hlink_pool = NULL;
}