summaryrefslogtreecommitdiff
path: root/allchblk.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-07-26 13:29:12 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 13:29:12 +0200
commitc63ec8250de446bca83601966c918d37ad120a83 (patch)
treeaa7aaed00ff0e4bfc7c283b4679b02caed79d9d6 /allchblk.c
parente9faf6971ce03082cf82bdfaea1fa06741753379 (diff)
gc4.14 tarball importgc4_14
Diffstat (limited to 'allchblk.c')
-rw-r--r--allchblk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/allchblk.c b/allchblk.c
index 026288e..ff94b48 100644
--- a/allchblk.c
+++ b/allchblk.c
@@ -164,7 +164,8 @@ unsigned char flags; /* IGNORE_OFF_PAGE or 0 */
if (size_avail != size_needed
&& !GC_incremental
&& (word)size_needed <= GC_max_hblk_size/2
- && GC_in_last_heap_sect(hbp) && GC_should_collect()) {
+ && GC_in_last_heap_sect((ptr_t)hbp)
+ && GC_should_collect()) {
continue;
}
# endif