[all-commits] [llvm/llvm-project] 0346e5: [libc][NFC] Fix Implicit Conversion Warning in get...
Aiden Grossman via All-commits
all-commits at lists.llvm.org
Wed Aug 27 20:58:45 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0346e57f796b37884e4a339f4d39d8245b5f4cc0
https://github.com/llvm/llvm-project/commit/0346e57f796b37884e4a339f4d39d8245b5f4cc0
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2025-08-27 (Wed, 27 Aug 2025)
Changed paths:
M libc/test/src/sys/random/linux/getrandom_test.cpp
Log Message:
-----------
[libc][NFC] Fix Implicit Conversion Warning in getrandom Test (#155732)
getrandom returns a ssize_t, but the error codes are defined as
integers. We need to use the builtin cast in the Fails matcher to ensure
that everything is the same type.
clang will warn about this in a bootstrapping build. Originally found in
\#155627.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list