summaryrefslogtreecommitdiff
path: root/rts/sm/HeapAlloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/sm/HeapAlloc.h')
-rw-r--r--rts/sm/HeapAlloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/sm/HeapAlloc.h b/rts/sm/HeapAlloc.h
index a867a484ae..0ec1e6d7bb 100644
--- a/rts/sm/HeapAlloc.h
+++ b/rts/sm/HeapAlloc.h
@@ -162,10 +162,10 @@ typedef struct {
extern W_ mpc_misses;
-StgBool HEAP_ALLOCED_miss(StgWord mblock, void *p);
+StgBool HEAP_ALLOCED_miss(StgWord mblock, const void *p);
INLINE_HEADER
-StgBool HEAP_ALLOCED(void *p)
+StgBool HEAP_ALLOCED(const void *p)
{
StgWord mblock;
uint32_t entry_no;