diff options
author | Ian Lynagh <igloo@earth.li> | 2012-04-26 16:52:44 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-04-26 16:52:44 +0100 |
commit | 1dbe6d59b621ab9bd836241d633b3a8d99812cb3 (patch) | |
tree | 6482c2019a3a85f93c9b38c0e985d77f24388692 /includes/rts/Hooks.h | |
parent | 3e314cc2060734ade9b82d4da418c119b3a05b4c (diff) | |
download | haskell-1dbe6d59b621ab9bd836241d633b3a8d99812cb3.tar.gz |
Fix warnings on Win64
Mostly this meant getting pointer<->int conversions to use the right
sizes. lnat is now size_t, rather than unsigned long, as that seems a
better match for how it's used.
Diffstat (limited to 'includes/rts/Hooks.h')
-rw-r--r-- | includes/rts/Hooks.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/rts/Hooks.h b/includes/rts/Hooks.h index f878dc6e10..f409205b87 100644 --- a/includes/rts/Hooks.h +++ b/includes/rts/Hooks.h @@ -18,9 +18,9 @@ extern char *ghc_rts_opts; extern void OnExitHook (void); extern int NoRunnableThreadsHook (void); -extern void StackOverflowHook (unsigned long stack_size); -extern void OutOfHeapHook (unsigned long request_size, unsigned long heap_size); -extern void MallocFailHook (unsigned long request_size /* in bytes */, char *msg); +extern void StackOverflowHook (lnat stack_size); +extern void OutOfHeapHook (lnat request_size, lnat heap_size); +extern void MallocFailHook (lnat request_size /* in bytes */, char *msg); extern void defaultsHook (void); #endif /* RTS_HOOKS_H */ |