summaryrefslogtreecommitdiff
path: root/includes/RtsAPI.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/RtsAPI.h')
-rw-r--r--includes/RtsAPI.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/RtsAPI.h b/includes/RtsAPI.h
index 16b848678d..a4a094fd14 100644
--- a/includes/RtsAPI.h
+++ b/includes/RtsAPI.h
@@ -90,7 +90,7 @@ typedef struct {
void (* outOfHeapHook) (W_ request_size, W_ heap_size);
// Called when malloc() fails, before exiting
- void (* mallocFailHook) (W_ request_size /* in bytes */, char *msg);
+ void (* mallocFailHook) (W_ request_size /* in bytes */, const char *msg);
// Called for every GC
void (* gcDoneHook) (unsigned int gen,