[windows] Fix warning about comparing ints of different signs
authorMartin Storsjo <martin@martin.st>
Wed, 25 Jul 2018 18:24:23 +0000 (18:24 +0000)
committerMartin Storsjo <martin@martin.st>
Wed, 25 Jul 2018 18:24:23 +0000 (18:24 +0000)
commitc89c9c7b63734e04d010a37dc4c6aa4d2edd81a6
tree6d774998729aa6732deab33481f893bb441f5b2e
parent733f4ed1bb42d2080fd24dd5c4155e7277abafc4
[windows] Fix warning about comparing ints of different signs

This fixes a warning like this:

warning: comparison of integers of different signs:
      'std::__1::__libcpp_tls_key' (aka 'long') and 'DWORD'
      (aka 'unsigned long') [-Wsign-compare]
  if (*__key == FLS_OUT_OF_INDEXES)
      ~~~~~~ ^  ~~~~~~~~~~~~~~~~~~

Differential Revision: https://reviews.llvm.org/D49782

llvm-svn: 337946
libcxx/src/support/win32/thread_win32.cpp