]> granicus.if.org Git - gc/commit
Fix 'signed-to-bigger-unsigned value assignment' warning for hb_map
authorIvan Maidanski <ivmai@mail.ru>
Tue, 16 Feb 2016 20:34:43 +0000 (23:34 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 16 Feb 2016 20:34:43 +0000 (23:34 +0300)
commit3883587204afd0415ee78a49da2e79de34ea05ac
treeec4ddfc608838fb7a2ad810af594c17d9823cb9c
parentaee1c54b3b42d507b4413806b6b0c9fe28ebb18e
Fix 'signed-to-bigger-unsigned value assignment' warning for hb_map

* include/private/gc_priv.h (hblkhdr): Change type of hb_map from
short to unsigned short.
* include/private/gc_priv.h (_GC_arrays): Change type of _obj_map from
short to unsigned short.
* obj_map.c (GC_add_map_entry): Change type of new_map local variable
from short to unsigned short.
include/private/gc_priv.h
obj_map.c