aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJohn Hubbard <[email protected]>2024-07-03 19:52:47 -0700
committerShuah Khan <[email protected]>2024-07-05 13:21:48 -0600
commitf76f9bc616b7320df6789241ca7d26cedcf03cf3 (patch)
tree013db5816d5ddba14908d6068fcc51362be2e77b /scripts/generate_rust_analyzer.py
parent48236960c06d32370bfa6f2cc408e786873262c8 (diff)
selftest/timerns: fix clang build failures for abs() calls
When building with clang, via: make LLVM=1 -C tools/testing/selftests ...clang warns about mismatches between the expected and required integer length being supplied to abs(3). Fix this by using the correct variant of abs(3): labs(3) or llabs(3), in these cases. Reviewed-by: Dmitry Safonov <[email protected]> Reviewed-by: Muhammad Usama Anjum <[email protected]> Signed-off-by: John Hubbard <[email protected]> Acked-by: Andrei Vagin <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions