summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rts/ThreadPaused.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/ThreadPaused.c b/rts/ThreadPaused.c
index 7aee59dcd5..94a5a15f46 100644
--- a/rts/ThreadPaused.c
+++ b/rts/ThreadPaused.c
@@ -252,7 +252,7 @@ threadPaused(Capability *cap, StgTSO *tso)
// And continue with threadPaused; there might be
// yet more computation to suspend.
- frame = (StgClosure *)tso->sp + 2;
+ frame = (StgClosure *)(tso->sp + 2);
prev_was_update_frame = rtsFalse;
continue;
}