Skip to content

Commit 81b65d6

Browse files
authored
Update src/coreclr/pal/src/thread/process.cpp
1 parent 533552d commit 81b65d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/pal/src/thread/process.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1629,7 +1629,7 @@ GetProcessIdDisambiguationKey(DWORD processId, UINT64 *disambiguationKey)
16291629
// since the start of the Unix epoch).
16301630
struct kinfo_proc info = {};
16311631
size_t size = sizeof(info);
1632-
int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, (int32_t)processId };
1632+
int mib[4] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, (int)processId };
16331633
int ret = ::sysctl(mib, sizeof(mib)/sizeof(*mib), &info, &size, nullptr, 0);
16341634

16351635
if (ret == 0)

0 commit comments

Comments
 (0)