]> granicus.if.org Git - gc/commit
Fix 'signed-to-bigger-unsigned value assignment' in GC_init_size_map
authorIvan Maidanski <ivmai@mail.ru>
Wed, 17 Feb 2016 07:42:57 +0000 (10:42 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 11 Mar 2016 21:05:30 +0000 (00:05 +0300)
commitb97c5f9f884f1d7ca862fb129ef57d6c9fa41c61
tree85dd745cea1cbe973d8eb0b0e38858c62af1b4a3
parent33cdea716c0eabefde4e5c3d7b19bc6233ee31dd
Fix 'signed-to-bigger-unsigned value assignment' in GC_init_size_map

* misc.c (GC_init_size_map): Cast ROUNDED_UP_GRANULES() result to
unsigned int explicitly (which is, in turn, cast to size_t implicitly).
misc.c