summaryrefslogtreecommitdiff
path: root/typd_mlc.c
diff options
context:
space:
mode:
authorhboehm <hboehm>2007-06-07 02:53:32 +0000
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 21:06:40 +0400
commit16509ab0ddba3346db6ad5ca44a0c9e2cbda31a3 (patch)
tree47210e56e470e96e6de9ea57da8899a1cb21ab3f /typd_mlc.c
parente8a9ac333a5cb33944ec8a4c9c2884c4980c8cd7 (diff)
downloadbdwgc-16509ab0ddba3346db6ad5ca44a0c9e2cbda31a3.tar.gz
2007-06-06 Hans Boehm <Hans.Boehm@hp.com>
* Makefile.am, Makefile.direct: Add NT_X64_STATIC_THREADS_MAKEFILE. * Makefile.in: Regenerate. * NT_X64_STATIC_THREADS_MAKEFILE: Fix warning flags. * allochblk.c, alloc.c, blacklst.c, dbg_malc.c, dyn_load.c, finalize.c, headers.c, mach_dep.c, malloc.c, mark.c, misc.c, obj_map.c, os_dep.c, ptr_chck.c, reclaim.c, typd_mlc.c, win32_threads.c, cord/de_win.c, include/gc_mark.h, include/private/gc_hdrs.h, include/private/gc_pmark.h, include/private/gc_priv.h, tests/test_cpp.cc: Replace old style function declarations. Clean up integral types. Remove register declarations. The change in malloc.c and the "int descr" declaration in mark.c are the most likely to have been real bugs outside of win64. * msvc_dbg.c: Disable on win64. * win32_threads.c: Add AMD64 support. * include/gc.h: no backtrace on AMD64 for now.
Diffstat (limited to 'typd_mlc.c')
-rw-r--r--typd_mlc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/typd_mlc.c b/typd_mlc.c
index 1124ff95..744d938f 100644
--- a/typd_mlc.c
+++ b/typd_mlc.c
@@ -107,7 +107,7 @@ signed_word GC_add_ext_descriptor(GC_bitmap bm, word nbits)
signed_word result;
size_t i;
word last_part;
- int extra_bits;
+ size_t extra_bits;
DCL_LOCK_STATE;
LOCK();
@@ -525,7 +525,7 @@ GC_descr GC_make_descriptor(GC_bitmap bm, size_t len)
{
signed_word last_set_bit = len - 1;
GC_descr result;
- int i;
+ signed_word i;
# define HIGH_BIT (((word)1) << (WORDSZ - 1))
if (!GC_explicit_typing_initialized) GC_init_explicit_typing();
@@ -634,7 +634,7 @@ DCL_LOCK_STATE;
} else {
op = (ptr_t)GENERAL_MALLOC_IOP(lb, GC_explicit_kind);
if (op != NULL)
- lg = BYTES_TO_WORDS(GC_size(op));
+ lg = BYTES_TO_WORDS(GC_size(op));
}
if (op != NULL)
((word *)op)[GRANULES_TO_WORDS(lg) - 1] = d;