summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/sigaltstack.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/syscalls/linux/sigaltstack.cc')
-rw-r--r--test/syscalls/linux/sigaltstack.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/syscalls/linux/sigaltstack.cc b/test/syscalls/linux/sigaltstack.cc
index fa991545c..b1845ac85 100644
--- a/test/syscalls/linux/sigaltstack.cc
+++ b/test/syscalls/linux/sigaltstack.cc
@@ -143,7 +143,7 @@ void badhandler(int sig, siginfo_t* siginfo, void* arg) {
badhandler_recursive_faults--;
Fault();
}
- FixupFault(reinterpret_cast<ucontext*>(arg));
+ FixupFault(reinterpret_cast<ucontext_t*>(arg));
}
TEST(SigaltstackTest, WalksOffBottom) {
@@ -215,7 +215,7 @@ void setonstack(int sig, siginfo_t* siginfo, void* arg) {
stack.ss_size = SIGSTKSZ;
setonstack_retval = sigaltstack(&stack, nullptr);
setonstack_errno = errno;
- FixupFault(reinterpret_cast<ucontext*>(arg));
+ FixupFault(reinterpret_cast<ucontext_t*>(arg));
}
TEST(SigaltstackTest, SetWhileOnStack) {