aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor_darwin.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/executor_darwin.h')
-rw-r--r--executor/executor_darwin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/executor_darwin.h b/executor/executor_darwin.h
index 76b939fcf..bb7956c20 100644
--- a/executor/executor_darwin.h
+++ b/executor/executor_darwin.h
@@ -118,6 +118,6 @@ static void cover_collect(cover_t* cov)
{
struct ksancov_trace* trace = (struct ksancov_trace*)cov->data;
cov->size = ksancov_trace_head(trace);
- cov->data_offset = ((int64_t) & (trace->pcs)) - ((int64_t)(cov->data));
+ cov->data_offset = ((int64_t)&(trace->pcs)) - ((int64_t)(cov->data));
cov->pc_offset = trace->offset;
}