Skip to content

Commit

Permalink
[Support] Silence warning: comparison of integers of different signs:…
Browse files Browse the repository at this point in the history
… 'const int' and 'const unsigned long'
  • Loading branch information
aganea committed May 6, 2020
1 parent db817d1 commit c503d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/unittests/Support/ProcessTest.cpp
Expand Up @@ -25,7 +25,7 @@ TEST(ProcessTest, GetProcessIdTest) {
const Process::Pid pid = Process::getProcessId();

#ifdef _WIN32
EXPECT_EQ(pid, ::GetCurrentProcessId());
EXPECT_EQ((DWORD)pid, ::GetCurrentProcessId());
#else
EXPECT_EQ(pid, ::getpid());
#endif
Expand Down

0 comments on commit c503d97

Please sign in to comment.