Silence warning with MSVC.
commit5d5d806e7b95d8a99d5628d113d8ecd33b2b289f
authorAlexandre Ganea <alexandre.ganea@legionlabs.com>
Sat, 15 Jan 2022 17:00:58 +0000 (15 12:00 -0500)
committerAlexandre Ganea <alexandre.ganea@legionlabs.com>
Sat, 15 Jan 2022 17:06:38 +0000 (15 12:06 -0500)
tree5b30ed47f5a95058bd105c288a8e405a71f6c417
parent7fcc44bca4b8d3326982692b30d8b6ea8a91db56
Silence warning with MSVC.

Fixes:

[2587/4073] Building CXX object projects\compiler-rt\lib\sanitizer_common\CMakeFiles\RTSanitizerCommon.x86_64.dir\sanitizer_stoptheworld_win.cpp.obj
D:\git\llvm-project\compiler-rt\lib\sanitizer_common\sanitizer_stoptheworld_win.cpp(125,33): warning: comparison of integers of different signs: 'DWORD' (aka 'unsigned long') and 'int' [-Wsign-compare]
      if (SuspendThread(thread) == -1) {
          ~~~~~~~~~~~~~~~~~~~~~ ^  ~~
1 warning generated.
compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_win.cpp