This fixes a warning about comparing mismatched types. Since mmap() already returns a void * use that as the pointer type for comparison.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D120945
[InstrProf][NFC] Fix warning by removing typecast ClosedPublic Authored by ellis on Mar 3 2022, 3:11 PM.
Details Summary This fixes a warning about comparing mismatched types. Since mmap() already returns a void * use that as the pointer type for comparison.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 3 2022, 4:33 PM Closed by commit rG9c35303981ae: [InstrProf][NFC] Fix warning by removing typecast (authored by ellis). · Explain WhyMar 4 2022, 10:48 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 413071 compiler-rt/lib/profile/InstrProfilingFile.c
|