summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-10-24 09:23:54 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-10-24 09:23:54 +0200
commit7ab856b196ecc36e65e93bd376c2201d00f532b7 (patch)
tree3896808df2af092857dff0230b6c22d4f854c39a /common
parentRemove inconsistent copy/paste horror - fixing memory id & hence updating. (diff)
downloadonline-7ab856b196ecc36e65e93bd376c2201d00f532b7.tar.gz
online-7ab856b196ecc36e65e93bd376c2201d00f532b7.zip
common, wsd: clean up redundant casts
Change-Id: Iad7e2417c6b1a154f6ad21839b841ca452e835c5
Diffstat (limited to 'common')
-rw-r--r--common/Seccomp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/Seccomp.cpp b/common/Seccomp.cpp
index 42922b554f..09a53cdca8 100644
--- a/common/Seccomp.cpp
+++ b/common/Seccomp.cpp
@@ -50,7 +50,7 @@ static void handleSysSignal(int /* signal */,
siginfo_t *info,
void *context)
{
- ucontext_t *uctx = reinterpret_cast<ucontext_t *>(context);
+ ucontext_t *uctx = static_cast<ucontext_t *>(context);
Log::signalLogPrefix();
Log::signalLog("SIGSYS trapped with code: ");