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

Christopher Ferris via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 12 17:59:23 PDT 2023


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

Done.

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


More information about the llvm-commits mailing list