aboutsummaryrefslogtreecommitdiff
path: root/src/inputhud.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/inputhud.c')
-rw-r--r--src/inputhud.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputhud.c b/src/inputhud.c
index b93e9d8..2620f3c 100644
--- a/src/inputhud.c
+++ b/src/inputhud.c
@@ -152,7 +152,7 @@ static inline int bsf(uint x) {
int ret = 0;
#if defined(__GNUC__) || defined(__clang__)
__asm__ volatile (
- "bsfl %1, %0\n"
+ "bsf %0, %1\n"
: "+r" (ret)
: "r" (x)
);