summaryrefslogtreecommitdiff
path: root/blacklst.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-07-26 18:18:03 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 18:18:03 +0200
commit64040040407b11d8740516fad2438109e7f22c02 (patch)
tree6d18a075ceb6f63855730afe630e50b0afa7ed32 /blacklst.c
parente35a4171fe47dfbf847e08988ea6cec4dfc8d124 (diff)
gc7.0alpha2 tarball importgc7_0alpha2
Diffstat (limited to 'blacklst.c')
-rw-r--r--blacklst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/blacklst.c b/blacklst.c
index 686893d..9811fb1 100644
--- a/blacklst.c
+++ b/blacklst.c
@@ -275,7 +275,7 @@ static word total_stack_black_listed(void)
for (i = 0; i < GC_n_heap_sects; i++) {
struct hblk * start = (struct hblk *) GC_heap_sects[i].hs_start;
- word len = (word) GC_heap_sects[i].hs_bytes;
+ size_t len = (word) GC_heap_sects[i].hs_bytes;
struct hblk * endp1 = start + len/HBLKSIZE;
total += GC_number_stack_black_listed(start, endp1);