Update src/Common/TaskStatsInfoGetter.cpp

This commit is contained in:
Alexander Gololobov 2023-06-02 12:34:22 +02:00 committed by GitHub
parent c5165c2236
commit 8cadd89ebe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -208,7 +208,7 @@ bool checkPermissionsImpl()
try
{
::taskstats stats{};
TaskStatsInfoGetter().getStat(stats, static_cast<int>(getThreadId()));
TaskStatsInfoGetter().getStat(stats, static_cast<pid_t>(getThreadId()));
}
catch (const Exception & e)
{