[all-commits] [llvm/llvm-project] fd7c7a: [scudo] Fix implicitly narrow casting (NFC)
ChiaHungDuan via All-commits
all-commits at lists.llvm.org
Fri Oct 14 11:59:31 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fd7c7ad4fe0138314b922ea0db1691d5a679cc75
https://github.com/llvm/llvm-project/commit/fd7c7ad4fe0138314b922ea0db1691d5a679cc75
Author: Chia-hung Duan <chiahungduan at google.com>
Date: 2022-10-14 (Fri, 14 Oct 2022)
Changed paths:
M compiler-rt/lib/scudo/standalone/local_cache.h
M compiler-rt/lib/scudo/standalone/primary32.h
M compiler-rt/lib/scudo/standalone/primary64.h
Log Message:
-----------
[scudo] Fix implicitly narrow casting (NFC)
u16 may be promoted to int by arithmetic type conversion. Do an explicit
cast to avoid certain compiler's warning.
Differential Revision: https://reviews.llvm.org/D135945
More information about the All-commits
mailing list