From 16509ab0ddba3346db6ad5ca44a0c9e2cbda31a3 Mon Sep 17 00:00:00 2001 From: hboehm Date: Thu, 7 Jun 2007 02:53:32 +0000 Subject: 2007-06-06 Hans Boehm * 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. --- ptr_chck.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ptr_chck.c') diff --git a/ptr_chck.c b/ptr_chck.c index ad20c9ab..d04d2daf 100644 --- a/ptr_chck.c +++ b/ptr_chck.c @@ -75,8 +75,8 @@ void * GC_same_obj(void *p, void *q) goto fail; } } else { - int offset; - int pdispl = HBLKDISPL(p); + size_t offset; + size_t pdispl = HBLKDISPL(p); offset = pdispl % sz; if (HBLKPTR(p) != HBLKPTR(q)) goto fail; -- cgit v1.2.1