mirror of https://gitee.com/Nocallback/glibc.git
Browse Source
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>fw/vfprintf-2
5 changed files with 28 additions and 10 deletions
Loading…
Reference in new issue