[InstrProf][NFC] Fix warning by removing typecast
authorEllis Hoag <ellis.sparky.hoag@gmail.com>
Thu, 3 Mar 2022 22:59:51 +0000 (14:59 -0800)
committerEllis Hoag <ellis.sparky.hoag@gmail.com>
Fri, 4 Mar 2022 18:48:25 +0000 (10:48 -0800)
commit9c35303981ae9a4495b3590fca9c3afbf34af213
tree82c6d289cb8a4e765c8b3ddb3014a36fae3f8c67
parenta5ee8183c049d377539c2b6452c8817589dd2df4
[InstrProf][NFC] Fix warning by removing typecast

This fixes a warning about comparing mismatched types. Since `mmap()` already returns a `void *` use that as the pointer type for comparison.

Reviewed By: kyulee, zequanwu

Differential Revision: https://reviews.llvm.org/D120945
compiler-rt/lib/profile/InstrProfilingFile.c