Details
Details
- Reviewers
michaelrj sivachandra lntue - Commits
- rGc891ef6ca014: [libc] Fix strcspn
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D144995
[libc] Fix strcspn ClosedPublic Authored by abrachet on Feb 28 2023, 11:41 AM.
Details
Diff Detail
Event Timelinesivachandra added inline comments.
This revision is now accepted and ready to land.Feb 28 2023, 11:55 AM This revision was landed with ongoing or failed builds.Mar 1 2023, 10:58 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 501585 libc/src/string/string_utils.h
|
I am guessing that you are seeing a signed vs unsigned problem? If yes, then may be *reinterpret_cast<const unsigned char *>(segment) ?