* st.c (st_add_direct): int is not always same with st_index_t.  some
  version of clang reports error.

* thread.c (vm_living_thread_num): ditto.
  reported by d6rkaiz (Isao Sugimoto) at [ruby-dev:47096]
  [Backport #7946]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
merge revision(s) 39809,39834,39837: [Backport #8132]

	* test/win32ole/test_err_in_callback.rb
	  (TestErrInCallBack#test_err_in_callback): shouldn't create a file in
	  source directory.

	* test/win32ole/test_err_in_callback.rb (TestErrInCallBack#setup): use
	  relative path to get rid of "too long commandline" error.
	  the top of build directory.

	* test/win32ole/test_err_in_callback.rb (TestErrInCallBack#setup):
	  allow using different root for source and build directories.
	  this may fixes a minor problem of r39834.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@39859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e