Remove unnecessary type casts in n_set_marks
authorIvan Maidanski <ivmai@mail.ru>
Wed, 13 Jun 2018 23:20:34 +0000 (02:20 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 13 Jun 2018 23:20:34 +0000 (02:20 +0300)
commit962eea47ca5bb2c9fc1043557cbc6c894e64940d
tree6567d7e75756ff52c26f44a8235031168a5b461b
parentc16ba4105a4c0a23490645f61beb4922c47fc1bd
Remove unnecessary type casts in n_set_marks
(code refactoring)

* reclaim.c (GC_n_set_marks): Change return type from int to unsigned;
change type of result local variable to unsigned.
* reclaim.c [!USE_MARK_BYTES] (set_bits): Likewise.
* reclaim.c (GC_n_set_marks): Change type of i, offset, limit,
n_mark_words, n_objs local variables to word; remove redundant casts.
reclaim.c