[libc] Add missing cast in x86 big_endian_cmp_mask
authorRoland McGrath <mcgrathr@google.com>
Fri, 30 Jun 2023 20:27:52 +0000 (13:27 -0700)
committerRoland McGrath <mcgrathr@google.com>
Fri, 30 Jun 2023 21:15:59 +0000 (14:15 -0700)
commitdbd38b121920d82cc9b6464f7d8b5b5b4d8c8698
treed13e26733fa174ad4ab8119e5fb43ff5e00e84eb
parent55e7f1f7864af550cdc74415b8e0ae95dd494391
[libc] Add missing cast in x86 big_endian_cmp_mask

Implicit narrowing conversions from int to uint16_t
get a compiler warning with the warning settings used
in the Fuchsia build.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D154256
libc/src/string/memory_utils/op_x86.h