summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rts/sm/HeapAlloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/sm/HeapAlloc.h b/rts/sm/HeapAlloc.h
index cd41adfe4d..58aae1119d 100644
--- a/rts/sm/HeapAlloc.h
+++ b/rts/sm/HeapAlloc.h
@@ -192,7 +192,7 @@ StgBool HEAP_ALLOCED(const void *p)
// updated atomically, but we need to place a lock around operations
// that touch the MBlock map.
INLINE_HEADER
-StgBool HEAP_ALLOCED_GC(void *p)
+StgBool HEAP_ALLOCED_GC(const void *p)
{
StgWord mblock;
uint32_t entry_no;