Skip to content

Commit 533552d

Browse files
authored
Update src/coreclr/nativeaot/Runtime/eventpipe/ds-rt-aot.cpp
1 parent 18de202 commit 533552d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/nativeaot/Runtime/eventpipe/ds-rt-aot.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ aot_ipc_get_process_id_disambiguation_key(
5656
// since the start of the Unix epoch).
5757
struct kinfo_proc info = {};
5858
size_t size = sizeof (info);
59-
int mib [4] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, (int32_t)process_id };
59+
int mib [4] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, (int)process_id };
6060

6161
const int result_sysctl = sysctl (mib, sizeof(mib)/sizeof(*mib), &info, &size, NULL, 0);
6262
if (result_sysctl == 0) {

0 commit comments

Comments
 (0)