Fix GC_get_nprocs (Linux) returned variable type
authorIvan Maidanski <ivmai@mail.ru>
Tue, 24 Jan 2012 04:39:47 +0000 (08:39 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 24 Jan 2012 13:48:38 +0000 (17:48 +0400)
commitee90c474c1800dbfc00eb218be04f0c3fba8fce0
treed65cd792323d9ff8d9f7ef5bc631c01b7205be9e
parentdffe46dde307f3b7787d37bdd6048fecdc1fe5a1
Fix GC_get_nprocs (Linux) returned variable type

* pthread_support.c (GC_get_nprocs): Change "result" local variable
type to int from word (to match returned value type); remove redundant
cast; initialize "result" variable just before its use.
pthread_support.c