@cryptotaxi247 / netdata-1 / commits / 9f8d13ce3

fix "differ in signedness" warn in cgroup (#16391)

fix differ in signedness warn in cgroup

Ilya Mashchenko committed Nov 12, 2023 at 19:11 UTC 9f8d13ce30037181156060bfa5fe16d8ff6716c8
1 file changed +1 -1
collectors/cgroups.plugin/sys_fs_cgroup.c
+1 -1
@@ -1166,7 +1166,7 @@ static void cgroup_read_pids_current(struct pids *pids) {
1166 if (unlikely(!pids->pids_current_filename))
1167 return;
1168
1169 - pids->pids_current_updated = !read_single_signed_number_file(pids->pids_current_filename, &pids->pids_current);
1169 + pids->pids_current_updated = !read_single_number_file(pids->pids_current_filename, &pids->pids_current);
1170 }
1171
1172 static inline void read_cgroup(struct cgroup *cg) {