Fix potential alignment issues

This commit is contained in:
Lior Halphon 2021-12-19 00:54:29 +02:00
parent cdc3321c36
commit e9629407a5

View File

@ -782,7 +782,7 @@ struct GB_gameboy_internal_s {
#ifndef GB_INTERNAL #ifndef GB_INTERNAL
struct GB_gameboy_s { struct GB_gameboy_s {
char __internal[sizeof(struct GB_gameboy_internal_s)]; _Alignas(struct GB_gameboy_internal_s) uint8_t __internal[sizeof(struct GB_gameboy_internal_s)];
}; };
#endif #endif