summaryrefslogtreecommitdiff
path: root/win32_threads.c
diff options
context:
space:
mode:
authorivmai <ivmai>2009-11-05 12:58:23 +0100
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:51 +0200
commit0ae010d8da6e1d5116786987bbc95f1843f52254 (patch)
treeed9b445926b41a50deb5fc8489ee61e7abd51e5d /win32_threads.c
parente170f30676739a2396b35d670c6fb977abb94356 (diff)
2009-11-05 Ivan Maidanski <ivmai@mail.ru>
* dyn_load.c (GC_dump_meminfo): Prefix "%lx" printf type specifier with "0x". * os_dep.c (PROTECT): Ditto. * win32_threads.c (GC_mark_thread_local_free_lists): Cast p->id to int (to match printf type specifier).
Diffstat (limited to 'win32_threads.c')
-rw-r--r--win32_threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32_threads.c b/win32_threads.c
index 1f771cb..2a13ca0 100644
--- a/win32_threads.c
+++ b/win32_threads.c
@@ -2635,7 +2635,7 @@ GC_INNER void GC_init_parallel(void)
for (i = 0; i < THREAD_TABLE_SZ; ++i) {
for (p = GC_threads[i]; 0 != p; p = p -> tm.next) {
# ifdef DEBUG_THREADS
- GC_printf("Marking thread locals for 0x%x\n", p -> id);
+ GC_printf("Marking thread locals for 0x%x\n", (int)p -> id);
# endif
GC_mark_thread_local_fls_for(&(p->tlfs));
}