]> granicus.if.org Git - gc/commit
Change GC_markers and GC_nprocs type to int
authorIvan Maidanski <ivmai@mail.ru>
Sat, 28 Jan 2012 09:17:51 +0000 (13:17 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 28 Jan 2012 09:17:51 +0000 (13:17 +0400)
commit010a90ec82fab64072b5c46127ad6b439eac8bfb
tree1a0d3ac8f3d9c34d2853a214df5f61faaedc0100
parenteaa5a4b18bfaf9af6ff5bfd0f5db8ffd00d664c9
Change GC_markers and GC_nprocs type to int

* include/private/gc_priv.h (GC_markers): Change type from long to int.
* mark.c (GC_markers): Likewise.
* pthread_support.c (GC_nprocs): Likewise.
* pthread_support.c (start_mark_threads, GC_thr_init): Adjust printf
format specifier for GC_markers and GC_nprocs.
* win32_threads.c (GC_thr_init): Likewise.
* pthread_support.c (GC_thr_init): Cast sysconf() result to int.
* win32_threads.c (start_mark_threads, GC_wait_marker,
GC_notify_all_marker): Remove unnecessary cast of GC_markers.
* win32_threads.c (GC_thr_init): Cast dwNumberOfProcessors to int.
include/private/gc_priv.h
mark.c
pthread_support.c
win32_threads.c