summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits/dirent.h
diff options
context:
space:
mode:
authorSven Linker <sven.linker@kernkonzept.com>2024-02-20 14:26:46 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-02-20 19:37:25 +0100
commita908621a934643f51a58042abcf1d1e42e281943 (patch)
tree8b5b2dfcbca4f721bb42ef6048cab76204ddab86 /libc/sysdeps/linux/common/bits/dirent.h
parent0f4669a6ec932dd6d037810d64286ba2f4e02ee0 (diff)
Replace null subtraction with cast
Clang warns about null-pointer subtractions, which are undefined behavior per the C standards. Replace the subtractions with explicit casts to `uintptr_t`.
Diffstat (limited to 'libc/sysdeps/linux/common/bits/dirent.h')
0 files changed, 0 insertions, 0 deletions