diff options
author | kasperk81 <83082615+kasperk81@users.noreply.github.com> | 2021-06-30 23:23:22 +0000 |
---|---|---|
committer | Dave Watson <dade.watson@gmail.com> | 2021-07-06 11:50:01 -0700 |
commit | 31738a984dbce13583ce52101ae8fc0058166b9c (patch) | |
tree | 6008ac70fea0c4a5fe3a2049a47c9e9694107ac3 /src/x86_64 | |
parent | abd15da8afb35b92ed0cb2c47f6564775b976c24 (diff) | |
download | libunwind-31738a984dbce13583ce52101ae8fc0058166b9c.tar.gz |
Fix -mx32 compilation error
Diffstat (limited to 'src/x86_64')
-rw-r--r-- | src/x86_64/Gos-linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x86_64/Gos-linux.c b/src/x86_64/Gos-linux.c index 12755b63..b4893297 100644 --- a/src/x86_64/Gos-linux.c +++ b/src/x86_64/Gos-linux.c @@ -149,7 +149,7 @@ x86_64_sigreturn (unw_cursor_t *cursor) __asm__ __volatile__ ("mov %0, %%rsp;" "mov %1, %%rax;" "syscall" - :: "r"(sc), "i"(SYS_rt_sigreturn) + :: "r"((uint64_t)sc), "i"(SYS_rt_sigreturn) : "memory"); abort(); } |