diff --git a/Libraries/LibCore/ProcessStatisticsReader.h b/Libraries/LibCore/ProcessStatisticsReader.h index 6620365d08..3afcac4f60 100644 --- a/Libraries/LibCore/ProcessStatisticsReader.h +++ b/Libraries/LibCore/ProcessStatisticsReader.h @@ -57,9 +57,9 @@ struct ProcessStatistics { // Keep this in sync with /proc/all. // From the kernel side: pid_t pid; - unsigned pgid; - unsigned pgp; - unsigned sid; + pid_t pgid; + pid_t pgp; + pid_t sid; uid_t uid; gid_t gid; pid_t ppid; diff --git a/Userland/top.cpp b/Userland/top.cpp index 46c82d0479..41dffcd449 100644 --- a/Userland/top.cpp +++ b/Userland/top.cpp @@ -42,9 +42,9 @@ struct ThreadData { int tid; pid_t pid; - unsigned pgid; - unsigned pgp; - unsigned sid; + pid_t pgid; + pid_t pgp; + pid_t sid; uid_t uid; gid_t gid; pid_t ppid;