Change type of THREAD_TABLE_INDEX result to int in win32_threads.c
authorIvan Maidanski <ivmai@mail.ru>
Wed, 23 Aug 2017 08:46:41 +0000 (11:46 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 23 Aug 2017 21:50:11 +0000 (00:50 +0300)
commit6d7f13f0aa8f3f52fa19d52c0744176c06df1114
tree1cfc92fff23de36dc763ebbbff7bb14b098c5240
parent119a2a5e58d982ba2a6b10781b13bbcc9ccaf160
Change type of THREAD_TABLE_INDEX result to int in win32_threads.c
(code refactoring)

* win32_threads.c (THREAD_TABLE_INDEX): Cast result to int; remove cast
of argument to word type; add comment.
* win32_threads.c (GC_new_thread, GC_delete_gc_thread_no_free,
GC_delete_thread): Change type of hv local variable from word to int.
* win32_threads.c (GC_lookup_thread_inner): Remove hv local variable;
remove "register" keyword for p local variable.
* win32_threads.c (GC_lookup_pthread): Change type of hv_guess local
variable from word to int.
win32_threads.c