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
Details
Details
- Reviewers
dyung kamaub - Commits
- rG3ead26e65bab: [scudo] Fix implicitly narrow casting (NFC)
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
@Chia-hungDuan, I was experiencing similar problems building that @dyung was with your original patch. I was able to successfully build this patch in my environment, though. If @kamaub is happy with it, I think you're good to go.
Comment Actions
@Chia-hungDuan, I cannot currently build my product. Merging this patch will solve that problem. Of course, it's possible that after merging, @kamaub will still have intermittent test failures in his product, but at least he'll be able to build his product so that he can analyze his problems.
Thus, I urge you to merge this patch, which I've already verified will fix the build problems.