[compiler-rt] [scudo] Add -Wconversion for tests and clean-up warnings. (PR #66147)

Mitch Phillips via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 12 14:50:39 PDT 2023


================
@@ -63,7 +63,7 @@ void checkMemoryTaggingMaybe(AllocatorT *Allocator, void *P, scudo::uptr Size,
     EXPECT_DEATH(
         {
           disableDebuggerdMaybe();
-          reinterpret_cast<char *>(P)[Size] = 0xaa;
+          reinterpret_cast<char *>(P)[Size] = '\xaa';
----------------
hctim wrote:

ditto

https://github.com/llvm/llvm-project/pull/66147


More information about the llvm-commits mailing list