You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It doesn't look to me that we have a problem: sizeof(MyStruct) is always greater than or equal to offsetof(MyStruct, z), so, in the worst case, we just waste the padding bytes.
Activity
cristianberneanu commentedon Jun 27, 2022
It doesn't look to me that we have a problem:
sizeof(MyStruct)is always greater than or equal tooffsetof(MyStruct, z), so, in the worst case, we just waste the padding bytes.edongashi commentedon Jun 27, 2022
You're right. For a moment I saw it the other way around. Nonetheless, it's a good small fix to have.