diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-08-30 09:08:02 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-10-20 10:19:08 -0300 |
commit | 9b5e138f2bbd032da858a4ad5bb51ed99d6f89b6 (patch) | |
tree | d61137c94c8088bde747b0b6c741c35e0ed22f1a /nis/nis_print.c | |
parent | 643a2d01399188192e0da234581034f77c892054 (diff) | |
download | glibc-9b5e138f2bbd032da858a4ad5bb51ed99d6f89b6.zip glibc-9b5e138f2bbd032da858a4ad5bb51ed99d6f89b6.tar.gz glibc-9b5e138f2bbd032da858a4ad5bb51ed99d6f89b6.tar.bz2 |
linux: Avoid shifting a negative signed on POSIX timer interface
The current macros uses pid as signed value, which triggers a compiler
warning for process and thread timers. Replace MAKE_PROCESS_CPUCLOCK
with static inline function that expects the pid as unsigned. These
are similar to what Linux does internally.
Checked on x86_64-linux-gnu.
Reviewed-by: Arjun Shankar <arjun@redhat.com>
Diffstat (limited to 'nis/nis_print.c')
0 files changed, 0 insertions, 0 deletions