#12 [Decoder] Struct BITMAPFILEHEADER takes 14 bytes in Windows and 16 in Linux, need alignment

Closed
opened 3 years ago by suhrke · 1 comments
suhrke commented 3 years ago

Linux version needs struct to be arranged such that alignment is the same. Types may have to change in the Linux struct.

Linux version needs struct to be arranged such that alignment is the same. Types may have to change in the Linux struct.
suhrke added the
bug
label 3 years ago
suhrke changed title from Struct BITMAPFILEHEADER takes 14 bytes in Windows and 16 in Linux, need alignment to [Decoder] Struct BITMAPFILEHEADER takes 14 bytes in Windows and 16 in Linux, need alignment 3 years ago
suhrke commented 3 years ago
Poster

Wrote a struct that took exactly 14 bytes and moved contents into the original struct so the remaining code can stay the same.

6655198818

Wrote a struct that took exactly 14 bytes and moved contents into the original struct so the remaining code can stay the same. https://git.teknik.io/scuti/paperback-cli/commit/6655198818ae2de85a4f1ce5b1d78d1f47c31799
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.