aboutsummaryrefslogtreecommitdiff
path: root/amd64/emit.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <[email protected]>2025-04-16 10:23:25 +0200
committerQuentin Carbonneaux <[email protected]>2025-04-16 10:29:00 +0200
commit8d5b86ac4c24e24802a60e5e9df2dd5902fe0a5c (patch)
tree36805bd0dd0a942740c2ba9b9223a89c2cc9978e /amd64/emit.c
parent348f2eac90ffc0f3f8fa35e8a211ef8048589cb8 (diff)
fix fp constants on big endian hosts
Diffstat (limited to 'amd64/emit.c')
-rw-r--r--amd64/emit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/amd64/emit.c b/amd64/emit.c
index a8cd0de..6cf37ec 100644
--- a/amd64/emit.c
+++ b/amd64/emit.c
@@ -384,9 +384,9 @@ Next:
goto Next;
}
-static void *negmask[4] = {
- [Ks] = (uint32_t[4]){ 0x80000000 },
- [Kd] = (uint64_t[2]){ 0x8000000000000000 },
+static bits negmask[4] = {
+ [Ks] = 0x80000000,
+ [Kd] = 0x8000000000000000,
};
static void