]> granicus.if.org Git - gc/commit
Fix 'shift count >= width of type' compiler warning in GC_SQRT_SIZE_MAX
authorIvan Maidanski <ivmai@mail.ru>
Wed, 21 Sep 2016 18:25:35 +0000 (21:25 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 1 Nov 2016 21:32:01 +0000 (00:32 +0300)
commit0151ecd1498a6239c14d18d2ee85b7ba90111d51
treefd4017084663766d9f61803cbac576be3b351cc9
parentb9d163477d68cedaef3f46e028a55a94987cdcad
Fix 'shift count >= width of type' compiler warning in GC_SQRT_SIZE_MAX
(fix commit 83231d0)
(Cherry-pick part of commit b4eb5c1 from 'master' branch.)

* malloc.c (GC_SQRT_SIZE_MAX): Change type from unsigned to size_t.
malloc.c