From 14ef78e5d4e0f5679b236001ea93e140a5d7f857 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Tue, 2 Aug 2016 15:48:34 +0200 Subject: [PATCH] fix type --- pdns/mtasker_ucontext.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pdns/mtasker_ucontext.cc b/pdns/mtasker_ucontext.cc index bb43bad73a..2146f10a84 100644 --- a/pdns/mtasker_ucontext.cc +++ b/pdns/mtasker_ucontext.cc @@ -72,8 +72,8 @@ pdns_ucontext_t::~pdns_ucontext_t() { void pdns_swapcontext (pdns_ucontext_t& __restrict octx, pdns_ucontext_t const& __restrict ctx) { - if (::swapcontext (static_cast(octx.uc_mcontext), - static_cast(ctx.uc_mcontext))) { + if (::swapcontext (static_cast(octx.uc_mcontext), + static_cast(ctx.uc_mcontext))) { throw_errno ("swapcontext() failed"); } if (ctx.exception) { @@ -87,8 +87,8 @@ pdns_makecontext assert (ctx.uc_link); assert (ctx.uc_stack.size()); - auto const mcp = static_cast(ctx.uc_mcontext); - auto const next = static_cast(ctx.uc_link->uc_mcontext); + auto const mcp = static_cast(ctx.uc_mcontext); + auto const next = static_cast(ctx.uc_link->uc_mcontext); if (::getcontext (mcp)) { throw_errno ("getcontext() failed"); } -- 2.47.2