diff options
author | Chia-hung Duan <chiahungduan@google.com> | 2022-10-14 06:36:47 +0000 |
---|---|---|
committer | Chia-hung Duan <chiahungduan@google.com> | 2022-10-15 03:54:53 +0000 |
commit | 3ead26e65bab612e6aead979646b40c6c15d9ba6 (patch) | |
tree | c406c65d350050787903beec4f1ccabacfefae46 /clang/lib/Basic/SourceManager.cpp | |
parent | 25915c6ad2cb248b99fd61015e34fa9e819397b3 (diff) | |
download | llvm-3ead26e65bab612e6aead979646b40c6c15d9ba6.zip llvm-3ead26e65bab612e6aead979646b40c6c15d9ba6.tar.gz llvm-3ead26e65bab612e6aead979646b40c6c15d9ba6.tar.bz2 |
[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. This fixes the problem
introduced by 0fb2aeef5310eaba2915b30810464a744a80da15
Differential Revision: https://reviews.llvm.org/D135985
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions