Maybe fix alignment warnings in arm neon code with recent gcc

This commit is contained in:
Oliver Jowett 2021-03-13 20:24:01 +08:00
parent 462dee56f3
commit c97b83d3ed
1 changed files with 1 additions and 1 deletions

View File

@ -16,6 +16,6 @@ typedef union {
typedef struct { typedef struct {
int16_t I; int16_t I;
int16_t Q; int16_t Q;
} __attribute__((__packed__)) sc16_t; } __attribute__((__packed__, __aligned__(2))) sc16_t;
#endif #endif