summaryrefslogtreecommitdiff
path: root/rts/hooks/MallocFail.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/hooks/MallocFail.c')
-rw-r--r--rts/hooks/MallocFail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/hooks/MallocFail.c b/rts/hooks/MallocFail.c
index e298c2ee77..6280b2f21d 100644
--- a/rts/hooks/MallocFail.c
+++ b/rts/hooks/MallocFail.c
@@ -10,7 +10,7 @@
#include <stdio.h>
void
-MallocFailHook (lnat request_size /* in bytes */, char *msg)
+MallocFailHook (W_ request_size /* in bytes */, char *msg)
{
fprintf(stderr, "malloc: failed on request for %" FMT_SizeT " bytes; message: %s\n", request_size, msg);
}