Commit 3ead26e6 authored by Chia-hung Duan's avatar Chia-hung Duan
Browse files

[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 0fb2aeef

Differential Revision: https://reviews.llvm.org/D135985
parent 25915c6a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment