Make struct fstate aligned to the same as an int as its pointer is cast to
an int pointer in args.c. This fixes an issue with ARM where the struct will be byte aligned but an int pointer must be 4 byte aligned.
This commit is contained in:
parent
a7f31a3636
commit
34fa2a3532
@ -213,7 +213,7 @@ struct fstate {
|
||||
char font[4];
|
||||
char size;
|
||||
int allcaps:1;
|
||||
};
|
||||
} __aligned(sizeof(int));
|
||||
char *chfont(struct fstate *, struct fstate *, char *);
|
||||
|
||||
struct fstate
|
||||
|
Loading…
Reference in New Issue
Block a user