[scudo] Explicit casting for u16 arithmetic operation
authorChia-hung Duan <chiahungduan@google.com>
Fri, 7 Jul 2023 19:57:47 +0000 (19:57 +0000)
committerChia-hung Duan <chiahungduan@google.com>
Fri, 7 Jul 2023 19:58:02 +0000 (19:58 +0000)
commit399eb5632f4ad201bfe4f0bbe1f8ce302c711726
tree503fa3ed0a46d02c75e1252013fac64afb0ad9cc
parent7cc0be01a0068946ea3613dc2cb45c81b0f45860
[scudo] Explicit casting for u16 arithmetic operation

This fixes the werror from https://lab.llvm.org/buildbot/#/builders/165/builds/38829

Reviewed By: enh

Differential Revision: https://reviews.llvm.org/D154733
compiler-rt/lib/scudo/standalone/primary32.h
compiler-rt/lib/scudo/standalone/primary64.h