]> granicus.if.org Git - gc/commit
Remove unnecessary type casts of printf arguments to unsigned long
authorIvan Maidanski <ivmai@mail.ru>
Wed, 30 Aug 2017 07:00:46 +0000 (10:00 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 28 Sep 2017 08:58:08 +0000 (11:58 +0300)
commit1a66c2fd063911297716e1540eb924e9cb7f27bc
tree2eebf32a7ad5a44b48bee4189faf323c5cb6b891
parent8d6c2f1969a03dfe52a1625a5bdbfc2032f93e07
Remove unnecessary type casts of printf arguments to unsigned long
(code refactoring)

* alloc.c [!NO_DEBUGGING] (GC_print_heap_sects): Remove unnecessary
cast to unsigned long in GC_*_printf call and adjust printf format
specifier to match the argument type.
* checksums.c [CHECKSUMS] (GC_checksum): Likewise.
* mark.c [PARALLEL_MARK] (GC_mark_local): Likewise.
* tests/test.c (typed_test): Likewise.
* checksums.c [CHECKSUMS] (GC_checksum): Change type of GC_n_clean,
GC_n_dirty from int to unsigned long.
alloc.c
checksums.c
mark.c
tests/test.c