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:
Andrew Turner 2012-12-22 04:11:59 +00:00
parent a7f31a3636
commit 34fa2a3532

View File

@ -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