summaryrefslogtreecommitdiff
path: root/rts/RtsAPI.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/RtsAPI.c')
-rw-r--r--rts/RtsAPI.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/RtsAPI.c b/rts/RtsAPI.c
index 533c0c41d4..9396dccc07 100644
--- a/rts/RtsAPI.c
+++ b/rts/RtsAPI.c
@@ -15,7 +15,7 @@
#include "Prelude.h"
#include "Schedule.h"
#include "Capability.h"
-#include "Stable.h"
+#include "StablePtr.h"
#include "Threads.h"
#include "Weak.h"
@@ -367,7 +367,7 @@ rts_getBool (HaskellObj p)
const StgInfoTable *info;
info = get_itbl((const StgClosure *)UNTAG_CONST_CLOSURE(p));
- if (info->srt_bitmap == 0) { // srt_bitmap is the constructor tag
+ if (info->srt == 0) { // srt is the constructor tag
return 0;
} else {
return 1;