Skip to content

Commit

Permalink
Add PoffinInner
Browse files Browse the repository at this point in the history
Co-authored-by: Rachel <[email protected]>
  • Loading branch information
fakuzatsu and lhearachel authored Jan 19, 2025
1 parent 2b21d7b commit 9e53e1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/poffin.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

typedef struct {
union {
struct {
struct PoffinInner {
u8 flavor;
u8 spiciness;
u8 dryness;
Expand All @@ -18,7 +18,7 @@ typedef struct {
u8 val1_06;
u8 dummy;
};
u8 attributes[8];
u8 attributes[sizeof(struct PoffinInner)];
};
} Poffin;

Expand Down

0 comments on commit 9e53e1e

Please sign in to comment.