aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/encoding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoding.c')
-rw-r--r--src/encoding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoding.c b/src/encoding.c
index a8bfd24..cb1b123 100644
--- a/src/encoding.c
+++ b/src/encoding.c
@@ -113,7 +113,7 @@ bool key_is_zero(const uint8_t key[static WG_KEY_LEN])
for (unsigned int i = 0; i < WG_KEY_LEN; ++i) {
acc |= key[i];
- __asm__ ("" : "=r" (acc) : "0" (acc));
+ asm("" : "=r" (acc) : "0" (acc));
}
return 1 & ((acc - 1) >> 8);
}