]> granicus.if.org Git - gc/commit
Fix (adjust) GC_scratch_alloc actual argument type
authorIvan Maidanski <ivmai@mail.ru>
Tue, 20 Dec 2016 07:21:07 +0000 (10:21 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 6 Feb 2017 17:20:00 +0000 (20:20 +0300)
commit473c0286d3a84747d73be6e7b4eefa894a996714
tree99dc57bf451525283df948372cd71aa9402955ee
parent697e3f70c826a0d8618061455737571440ae9c85
Fix (adjust) GC_scratch_alloc actual argument type

* dyn_load.c [IRIX5 || USE_PROC_FOR_LIBRARIES && !LINUX]
(GC_register_dynamic_libraries): Do not cast GC_scratch_alloc argument
to word type (it should be of size_t).
* headers.c (alloc_hdr, GC_init_headers, get_index): Likewise.
* os_dep.c [PROC_VDB] (GC_proc_buf_size): Change type from word to size_t.
* os_dep.c [PROC_VDB] (GC_read_dirty): Change type of new_size local
variable (which is passed to GC_scratch_alloc) from word to size_t.
dyn_load.c
headers.c
os_dep.c