Fix type of local variables receiving result of PHT_HASH
authorIvan Maidanski <ivmai@mail.ru>
Thu, 22 Feb 2018 20:39:38 +0000 (23:39 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 22 Feb 2018 20:39:38 +0000 (23:39 +0300)
commit037991eba58acd89f8d368ca0e9fbdb3bc47d6a1
tree063f6f78c5187c589a285248da39cf887798bbf8
parentf32ccf22fea51331c9645da025af2dab6153f8af
Fix type of local variables receiving result of PHT_HASH

The variables should be of word type, not int or size_t.

* os_dep.c (GC_write_fault_handler, GC_remove_protection): Change type
of index local variable from size_t to word.
* os_dep.c [MPROTECT_VDB && DARWIN] (catch_exception_raise): Change
type of index local variable from int to word.
os_dep.c