summaryrefslogtreecommitdiff
path: root/net-wireless/dump1090/files/dump1090-5.0-32bit-fix.patch
blob: 8425f3d9da06d650a66b18ddea428274b5bd3756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From c97b83d3eded3e2232a9f938fee52771ebe09c9c Mon Sep 17 00:00:00 2001
From: Oliver Jowett <oliver.jowett@flightaware.com>
Date: Sat, 13 Mar 2021 20:24:01 +0800
Subject: [PATCH] Maybe fix alignment warnings in arm neon code with recent gcc

---
 dsp-types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dsp-types.h b/dsp-types.h
index a3ef98dab..962b608be 100644
--- a/dsp-types.h
+++ b/dsp-types.h
@@ -16,6 +16,6 @@ typedef union {
 typedef struct {
     int16_t I;
     int16_t Q;
-} __attribute__((__packed__)) sc16_t;
+} __attribute__((__packed__, __aligned__(2))) sc16_t;
 
 #endif