summaryrefslogtreecommitdiff
path: root/dbg_mlc.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 /dbg_mlc.c
parente35a4171fe47dfbf847e08988ea6cec4dfc8d124 (diff)
gc7.0alpha2 tarball importgc7_0alpha2
Diffstat (limited to 'dbg_mlc.c')
-rw-r--r--dbg_mlc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbg_mlc.c b/dbg_mlc.c
index 643f0e2..881fa7f 100644
--- a/dbg_mlc.c
+++ b/dbg_mlc.c
@@ -143,7 +143,7 @@ GC_bool GC_has_other_debug_info(ptr_t p)
/* e.g. RAND_MAX = 1.5* GC_heapsize. But for typical cases, */
/* it's not too bad. */
for (i = 0; i < GC_n_heap_sects; ++ i) {
- int size = GC_heap_sects[i].hs_bytes;
+ size_t size = GC_heap_sects[i].hs_bytes;
if (heap_offset < size) {
return GC_heap_sects[i].hs_start + heap_offset;
} else {
@@ -847,7 +847,7 @@ void GC_check_heap_block(struct hblk *hbp, word dummy)
struct hblkhdr * hhdr = HDR(hbp);
size_t sz = hhdr -> hb_sz;
int bit_no;
- unsigned char *p, *plim;
+ char *p, *plim;
p = hbp->hb_body;
bit_no = 0;